SiGraph: sulcal graphs |
![]() |
#include <si/learnable/dbLearnable.h>


Public Member Functions | |
| 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) | |
| DBLearnable & | operator= (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 |
| DBVectorLearnable * | operator[] (unsigned int ind) const |
| void | clear () |
| void | setLabels (std::vector< std::string > &labels) |
Public Member Functions inherited from sigraph::Learnable | |
| virtual | ~Learnable () |
Protected Attributes | |
| 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 | |
Additional Inherited Members | |
Protected Member Functions inherited from sigraph::Learnable | |
| Learnable () | |
Definition at line 19 of file dbLearnable.h.
|
inline |
Definition at line 22 of file dbLearnable.h.
References _cols_numbers, _INF, _owned_data, _size, _X, and _Y.
Referenced by DBLearnable(), operator=(), sigraph::SiDBLearnable::SiDBLearnable(), and sigraph::SiDBLearnable::SiDBLearnable().
| sigraph::DBLearnable::DBLearnable | ( | double * | X, |
| double * | Y, | ||
| char * | INF, | ||
| std::vector< int > & | dims, | ||
| bool | owned_data ) |
Create DBLearnable from arrays and dims.
X : X data matrix. Y : Y data matrix. INF : INF data matrix. dims : std::vector of 4 elements : first : (x, y, z) number of columns and then number of rows.
|
virtual |
|
inline |
Definition at line 36 of file dbLearnable.h.
References DBLearnable(), and sigraph::Learnable::Learnable().
| void sigraph::DBLearnable::clear | ( | ) |
|
inline |
Definition at line 74 of file dbLearnable.h.
References _cols_numbers.
|
inline |
Definition at line 79 of file dbLearnable.h.
References _labels_to_indices.
|
inline |
Definition at line 72 of file dbLearnable.h.
References _INF.
|
inline |
Definition at line 78 of file dbLearnable.h.
References _cols_numbers.
|
inline |
|
inline |
Definition at line 76 of file dbLearnable.h.
References _cols_numbers.
|
inline |
Definition at line 71 of file dbLearnable.h.
References _Y.
|
inline |
Definition at line 77 of file dbLearnable.h.
References _cols_numbers.
|
inline |
Definition at line 43 of file dbLearnable.h.
References _cols_numbers, _INF, _owned_data, _size, _X, _Y, and DBLearnable().
| DBVectorLearnable * sigraph::DBLearnable::operator[] | ( | unsigned int | ind | ) | const |
|
inline |
Definition at line 92 of file dbLearnable.h.
References _labels_to_indices.
|
inline |
Definition at line 73 of file dbLearnable.h.
References _size.
|
protected |
number of columns (X, Y, INF)
Definition at line 111 of file dbLearnable.h.
Referenced by DBLearnable(), getColsNumber(), getINFcolsNumber(), getXcolsNumber(), getYcolsNumber(), and operator=().
|
protected |
meta information data matrix
Definition at line 107 of file dbLearnable.h.
Referenced by DBLearnable(), getINF(), and operator=().
|
protected |
info labels -> indices
Definition at line 115 of file dbLearnable.h.
Referenced by getIndiceFromLabel(), and setLabels().
|
protected |
data are owned by database
Definition at line 113 of file dbLearnable.h.
Referenced by DBLearnable(), and operator=().
|
protected |
number of vectors
Definition at line 109 of file dbLearnable.h.
Referenced by DBLearnable(), operator=(), and size().
|
protected |
X data matrix.
Definition at line 103 of file dbLearnable.h.
Referenced by DBLearnable(), getX(), and operator=().
|
protected |
Y data matrix.
Definition at line 105 of file dbLearnable.h.
Referenced by DBLearnable(), getY(), and operator=().