canonical_code< MSET_PROP, vertex_t, edge_t, ALLOC > Class Template Reference

Itemset canonical Code class by partial specialization of generic canonical_code class. More...

#include <mset_can_code.h>

List of all members.

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 ()


Detailed Description

template<class PP, typename vertex_t, typename edge_t, template< typename > class ALLOC>
class canonical_code< MSET_PROP, vertex_t, edge_t, ALLOC >

Itemset canonical Code class by partial specialization of generic canonical_code class.

pattern_prop is set to no_edges(itemset property)


Member Function Documentation

template<class PP, typename vertex_t, typename edge_t, template< typename > class ALLOC>
STORAGE_TYPE canonical_code< MSET_PROP, vertex_t, edge_t, ALLOC >::getCode (  )  const [inline]

Return the canonical code.

template<class PP, typename vertex_t, typename edge_t, template< typename > class ALLOC>
template<class PAT>
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.

Parameters:
[in] v It is the vertex for which the code is generated
[in] pat The associated pattern
Returns:
void

template<class PP, typename vertex_t, typename edge_t, template< typename > class ALLOC>
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

Parameters:
[in] v Input vertex of vertex_t datatype.
Returns:
void


The documentation for this class was generated from the following file:
Generated on Wed Jul 26 14:01:09 2006 for DMTL by  doxygen 1.4.7