72 Graph(
const vector<short unsigned int> &vertices,
73 vector<string> *ptr_map_vertices_indexToLabel,
74 const vector<bool> &linkableVertices,
const unsigned int &type,
75 const bool &isSpherical,
const unsigned int &dataSupp = 0);
85 bool isSubgraphOf(
const Graph *grBig)
const;
95 bool isSubgraphOf_spherical_spherical(
const Graph *grBig)
const;
105 bool isSubgraphOf_spherical_euclidean(
const Graph *grBig)
const;
111 static bool isAnSubAm(
const vector<short unsigned int> &subGraphVertices,
112 const vector<short unsigned int> &bigGraphVertices);
This class represents one graph.
Definition: graph.h:42
vector< short unsigned int > vertices
Vertices of the graph.
Definition: graph.h:44
vector< string > * ptr_map_vertices_indexToLabel
Pointeur vers la correspondance.
Definition: graph.h:57
unsigned int type
Type of the graph: A=0, B=1, ...
Definition: graph.h:49
vector< bool > linkableVertices
Definition: graph.h:46
bool b_map_vertices_indexToLabelIsEmpty
Definition: graph.h:58
unsigned int dataSupp
In the case of G_2^n, the weight.
Definition: graph.h:51
bool isSpherical
True if spherical, false if euclidean.
Definition: graph.h:53
bool operator==(const Graph &g1, const Graph &g2)
Definition: graph.cpp:991
bool operator<(const Graph &g1, const Graph &g2)
Definition: graph.cpp:996
ostream & operator<<(ostream &o, const Graph &g)
Definition: graph.cpp:36
bool operator()(const Graph *g1, const Graph *g2) const
Definition: graph.h:119