Brush C++ API
A flexible interpretable machine learning framework
Loading...
Searching...
No Matches
Brush::Simpl::HashStorage Class Reference

#include <inexact.h>

Collaboration diagram for Brush::Simpl::HashStorage:

Public Member Functions

 HashStorage (int numPlanes=10)
 
 ~HashStorage ()
 
void append (const int &storage_n, const size_t &key, const tree< Brush::Node > Tree)
 
vector< tree< Node > > getList (const int &storage_n, const size_t &key)
 
void clear ()
 
vector< size_t > keys (const int &storage_n)
 
void print (const string &prefix, std::ofstream &log) const
 

Private Attributes

vector< map< size_t, vector< tree< Node > > > > storage
 

Detailed Description

Definition at line 16 of file inexact.h.

Constructor & Destructor Documentation

◆ HashStorage()

Brush::Simpl::HashStorage::HashStorage ( int numPlanes = 10)
inline

Definition at line 18 of file inexact.h.

◆ ~HashStorage()

Brush::Simpl::HashStorage::~HashStorage ( )
inline

Definition at line 24 of file inexact.h.

Member Function Documentation

◆ append()

void Brush::Simpl::HashStorage::append ( const int & storage_n,
const size_t & key,
const tree< Brush::Node > Tree )
inline

Definition at line 26 of file inexact.h.

◆ clear()

void Brush::Simpl::HashStorage::clear ( )
inline

Definition at line 87 of file inexact.h.

◆ getList()

vector< tree< Node > > Brush::Simpl::HashStorage::getList ( const int & storage_n,
const size_t & key )
inline

Definition at line 79 of file inexact.h.

◆ keys()

vector< size_t > Brush::Simpl::HashStorage::keys ( const int & storage_n)
inline

Definition at line 93 of file inexact.h.

◆ print()

void Brush::Simpl::HashStorage::print ( const string & prefix,
std::ofstream & log ) const
inline

Definition at line 101 of file inexact.h.

Here is the caller graph for this function:

Member Data Documentation

◆ storage

vector<map<size_t, vector<tree<Node> > > > Brush::Simpl::HashStorage::storage
private

Definition at line 120 of file inexact.h.


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