Ondisk_Storage_Manager_Sparse Class Reference

Ondisk_Storage_Manager_Sparse extends Ondisk_Storage_Manager and used for entities that have sparse feature vectors. More...

#include <ondisk_storage_manager.h>

Inheritance diagram for Ondisk_Storage_Manager_Sparse:

Ondisk_Storage_Manager< SVector > Storage_Manager< SVector > List of all members.

Public Member Functions

 Ondisk_Storage_Manager_Sparse (Hazy_Database *db_conn, struct ondisk_storage_spec *spec, struct hazy_model &hm)
void insertEntity (struct hazy_model &m, key e, SVector f)
 Inserts the entity to the storage manager.

Detailed Description

Ondisk_Storage_Manager_Sparse extends Ondisk_Storage_Manager and used for entities that have sparse feature vectors.


Constructor & Destructor Documentation

Ondisk_Storage_Manager_Sparse::Ondisk_Storage_Manager_Sparse ( Hazy_Database db_conn,
struct ondisk_storage_spec spec,
struct hazy_model hm 
) [inline]


Member Function Documentation

void Ondisk_Storage_Manager_Sparse::insertEntity ( struct hazy_model m,
key  id,
SVector  f 
) [virtual]

Inserts the entity to the storage manager.

Parameters:
[in] m hazy model which is used when the approach is hazy, because we need to calculate eps value
[in] id id of the entity
[in] f feature vector of the entity

Implements Ondisk_Storage_Manager< SVector >.


The documentation for this class was generated from the following files:
Generated on Wed Dec 15 10:46:16 2010 for Hazy_System by  doxygen 1.4.7