SHOGUN  4.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
List of all members | Public Member Functions | Public Attributes
MappedSparseMatrix Class Reference

Detailed Description

mapped sparse matrix for representing graph relations of tasks

Definition at line 36 of file LibLinearMTL.h.

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 45 of file LibLinearMTL.h.

void set_from_sparse ( const SGSparseMatrix< float64_t > &  sgm)

set matrix from SGSparseMatrix

Parameters
sgm

Definition at line 63 of file LibLinearMTL.h.

Member Data Documentation

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

under-the-hood data structure

Definition at line 85 of file LibLinearMTL.h.


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

SHOGUN Machine Learning Toolbox - Documentation