Biorithm
1.1
|
This class holds a table of item sets. It is important to maintain a hash hash table and a vector at the same time to manage fast lookups and keep everything in order. More...
#include <BSetMap.h>
Public Member Functions | |
ItemSetMap (unsigned int size) | |
ItemSetMap (const ItemSetMap &src) | |
ItemSetMap & | operator= (const ItemSetMap &rhs) |
ItemSet *& | operator[] (unsigned int index) |
ItemSet *& | back () |
void | clear () |
void | destroy () |
bool | empty () const |
bool | contains (ItemSet &is) const |
bool | contains (ItemSet *is) const |
void | insert (ItemSet *is, const t &value) |
void | insert (ItemSet *is, t *value=new t) |
unsigned int | size () const |
ItemSet * | getItemSet (ItemSet *is) |
ItemSet * | getItemSet (ItemSet &is) |
ItemSet * | getItemSet (unsigned int index) |
t & | getValue (ItemSet *is) |
t & | getValue (ItemSet &is) |
t & | getValue (unsigned int index) |
ItemSetMap (unsigned int size) | |
ItemSetMap (const ItemSetMap &src) | |
ItemSetMap & | operator= (const ItemSetMap &rhs) |
ItemSet *& | operator[] (unsigned int index) |
ItemSet *& | back () |
void | clear () |
void | destroy () |
bool | empty () const |
bool | contains (ItemSet &is) const |
bool | contains (ItemSet *is) const |
void | insert (ItemSet *is, const t &value) |
void | insert (ItemSet *is, t *value=new t) |
unsigned int | size () const |
ItemSet * | getItemSet (ItemSet *is) |
ItemSet * | getItemSet (ItemSet &is) |
ItemSet * | getItemSet (unsigned int index) |
t & | getValue (ItemSet *is) |
t & | getValue (ItemSet &is) |
t & | getValue (unsigned int index) |
This class holds a table of item sets. It is important to maintain a hash hash table and a vector at the same time to manage fast lookups and keep everything in order.
Header for the ItemSetMap