aGrUM  0.16.0
edgeCode.cpp
Go to the documentation of this file.
1 
31 
32 #ifdef GUM_NO_INLINE
34 #endif // GUM_NO_INLINE
35 
36 namespace gum {
37  namespace prm {
38  namespace gspan {
39 
40  std::ostream& operator<<(std::ostream& out, const EdgeCode& code) {
41  out << "(" << code.i << ", " << code.j << ", " << code.l_i << ", ";
42  out << code.l_ij << ", " << code.l_j << ")";
43  return out;
44  }
45 
46  } /* namespace gspan */
47  } /* namespace prm */
48 } /* namespace gum */
NodeId i
The DFS subscript of the first node in the code.
Definition: edgeCode.h:77
std::ostream & operator<<(std::ostream &out, const DFSCode &code)
Print code in out.
Definition: DFSCode.cpp:40
NodeId j
The DFS subscript of the second node in the code.
Definition: edgeCode.h:80
Size l_ij
The label of the edge in the code.
Definition: edgeCode.h:86
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Definition: agrum.h:25
represent a DFS code used by gspan.
Definition: edgeCode.h:52
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Size l_j
The label of the second node in the code.
Definition: edgeCode.h:89
Size l_i
The label of the first node in the code.
Definition: edgeCode.h:83