#include <mset_can_code.h>
Public Types | |
typedef int | STORAGE_TYPE |
typedef vertex_t | INIT_TYPE |
typedef eqint | COMPARISON_FUNC |
Public Member Functions | |
template<class PAT> | |
void | init (INIT_TYPE v, PAT *pat) |
void | insert_vertex (const vertex_t &v) |
STORAGE_TYPE | getCode () const |
void | update_code () |
pattern_prop is set to no_edges(itemset property)
STORAGE_TYPE canonical_code< MSET_PROP, vertex_t, edge_t, ALLOC >::getCode | ( | ) | const [inline] |
Return the canonical code.
void canonical_code< MSET_PROP, vertex_t, edge_t, ALLOC >::init | ( | INIT_TYPE | v, | |
PAT * | pat | |||
) | [inline] |
Used to initialize the canonical code. Called from db_reader so that the pattern's canonical code can be initialized.
[in] | v | It is the vertex for which the code is generated |
[in] | pat | The associated pattern |
void canonical_code< MSET_PROP, vertex_t, edge_t, ALLOC >::insert_vertex | ( | const vertex_t & | v | ) | [inline] |
Generate canonical code for each length-1 pattern from static-id
[in] | v | Input vertex of vertex_t datatype. |