SiGraph: sulcal graphs


sigraph::SiDBLearnable Class Reference

#include <si/learnable/dbLearnable.h>

Inheritance diagram for sigraph::SiDBLearnable:
Collaboration diagram for sigraph::SiDBLearnable:

Public Member Functions

 SiDBLearnable ()
 
 SiDBLearnable (double *X, double *Y, char *INF, std::vector< int > &dims, bool owned_data)
 
virtual ~SiDBLearnable ()
 
void setSplit (int split)
 Accessors.
 
void setCycles (int cycles)
 
int getSplit () const
 
int getCycles () const
 
SiVectorLearnableoperator[] (unsigned int ind) const
 
- Public Member Functions inherited from sigraph::DBLearnable
 DBLearnable ()
 
 DBLearnable (double *X, double *Y, char *INF, std::vector< int > &dims, bool owned_data)
 Create DBLearnable from arrays and dims.
 
virtual ~DBLearnable ()
 
 DBLearnable (const DBLearnable &db)
 
DBLearnableoperator= (const DBLearnable &db)
 
double * getX () const
 Accessors :
 
double * getY () const
 
char * getINF () const
 
int size () const
 
const std::vector< int > & getColsNumber () const
 
int getXcolsNumber () const
 
int getYcolsNumber () const
 
int getINFcolsNumber () const
 
unsigned int getIndiceFromLabel (std::string &label) const
 
DBVectorLearnableoperator[] (unsigned int ind) const
 
void clear ()
 
void setLabels (std::vector< std::string > &labels)
 
- Public Member Functions inherited from sigraph::Learnable
virtual ~Learnable ()
 

Additional Inherited Members

- Protected Member Functions inherited from sigraph::Learnable
 Learnable ()
 
- Protected Attributes inherited from sigraph::DBLearnable
double * _X
 X data matrix.
 
double * _Y
 Y data matrix.
 
char * _INF
 meta information data matrix
 
int _size
 number of vectors
 
std::vector< int > _cols_numbers
 number of columns (X, Y, INF)
 
bool _owned_data
 data are owned by database
 
std::map< std::string, unsigned int > _labels_to_indices
 info labels -> indices
 

Detailed Description

Definition at line 119 of file dbLearnable.h.

Constructor & Destructor Documentation

◆ SiDBLearnable() [1/2]

sigraph::SiDBLearnable::SiDBLearnable ( )
inline

Definition at line 122 of file dbLearnable.h.

References sigraph::DBLearnable::DBLearnable().

◆ SiDBLearnable() [2/2]

sigraph::SiDBLearnable::SiDBLearnable ( double * X,
double * Y,
char * INF,
std::vector< int > & dims,
bool owned_data )
inline

Definition at line 123 of file dbLearnable.h.

References sigraph::DBLearnable::DBLearnable().

◆ ~SiDBLearnable()

virtual sigraph::SiDBLearnable::~SiDBLearnable ( )
inlinevirtual

Definition at line 127 of file dbLearnable.h.

Member Function Documentation

◆ getCycles()

int sigraph::SiDBLearnable::getCycles ( ) const
inline

Definition at line 135 of file dbLearnable.h.

◆ getSplit()

int sigraph::SiDBLearnable::getSplit ( ) const
inline

Definition at line 134 of file dbLearnable.h.

◆ operator[]()

SiVectorLearnable * sigraph::SiDBLearnable::operator[] ( unsigned int ind) const

◆ setCycles()

void sigraph::SiDBLearnable::setCycles ( int cycles)
inline

Definition at line 133 of file dbLearnable.h.

◆ setSplit()

void sigraph::SiDBLearnable::setSplit ( int split)
inline

Accessors.

Definition at line 132 of file dbLearnable.h.


The documentation for this class was generated from the following file: