29 #ifndef GUM_EDGE_CODE_H 30 #define GUM_EDGE_CODE_H 147 #ifndef GUM_NO_INLINE 149 #endif // GUM_NO_INLINE NodeId i
The DFS subscript of the first node in the code.
bool operator!=(const EdgeCode &code) const
Difference operator.
std::ostream & operator<<(std::ostream &out, const DFSCode &code)
Print code in out.
NodeId j
The DFS subscript of the second node in the code.
Size l_ij
The label of the edge in the code.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
represent a DFS code used by gspan.
bool isBackward() const
Returns true if this EdgeCode is a backward edge.
bool operator<(const EdgeCode &code) const
Lesser than operator.
bool operator==(const EdgeCode &code) const
Equality operator.
std::string name
The string version of this EdgeCode.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
EdgeCode(NodeId i, NodeId j, Size l_i, Size l_ij, Size l_j)
Default constructor.
Size l_j
The label of the second node in the code.
bool isForward() const
Returns true if this EdgeCode is a forward edge.
EdgeCode & operator=(const EdgeCode &source)
Copy operator.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Size NodeId
Type for node ids.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Size l_i
The label of the first node in the code.