Public Member Functions | Public Attributes

MappedSparseMatrix Class Reference


Detailed Description

mapped sparse matrix for representing graph relations of tasks

Definition at line 35 of file LibLinearMTL.h.

List of all members.

Public Member Functions

const float64_t operator() (index_t i_row, index_t i_col) const
void set_from_sparse (const SGSparseMatrix< float64_t > &sgm)

Public Attributes

std::vector< std::map< index_t,
float64_t > > 
data

Member Function Documentation

const float64_t operator() ( index_t  i_row,
index_t  i_col 
) const

operator overload for matrix read only access

Parameters:
i_row 
i_col 

Definition at line 44 of file LibLinearMTL.h.

void set_from_sparse ( const SGSparseMatrix< float64_t > &  sgm  ) 

set matrix from SGSparseMatrix

Parameters:
sgm 

Definition at line 62 of file LibLinearMTL.h.


Member Data Documentation

std::vector< std::map<index_t, float64_t> > data

under-the-hood data structure

Definition at line 84 of file LibLinearMTL.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation