CoxIter
1.2
CoxIter - Computing invariants of hyperbolic Coxeter groups
|
This class represents one graph. More...
#include <graph.h>
Public Member Functions | |
Graph (const vector< short unsigned int > &iVertices, vector< string > *ptr_map_vertices_indexToLabel, const vector< bool > &bVerticesLinkable, const unsigned int &iType, const bool &bSpherical, const unsigned int &iDataSupp=0) | |
Constructeur. More... | |
bool | bIsSubgraphOf (const Graph *grBig) const |
Test if a graph (spherical) is a subgraph of another graph (spherical or euclidean) More... | |
bool | bIsSubgraphOf_spherical_spherical (const Graph *grBig) const |
Test if a graph (spherical) is a subgraph of another graph (spherical) graph. More... | |
bool | bIsSubgraphOf_spherical_euclidean (const Graph *grBig) const |
Test if a graph (spherical) is a subgraph of another graph (euclidean) graph. More... | |
Public Attributes | |
vector< short unsigned int > | iVertices |
Vertices of the graph. More... | |
vector< bool > | bVerticesLinkable |
A quels sommets on peut lier le graphe { sommets } \ { sommets du graphes et leurs voisins ) More... | |
unsigned int | iGraphType |
Type of the graph: A=0, B=1, ... More... | |
unsigned int | iDataSupp |
In the case of G_2^n, the weight. More... | |
bool | bSpherical |
True if spherical, false if euclidean. More... | |
Static Private Member Functions | |
static bool | bAnSubAm (const vector< short unsigned int > &iSubV, const vector< short unsigned int > &iBigV) |
Private Attributes | |
vector< string > * | ptr_map_vertices_indexToLabel |
Pointeur vers la correspondance. More... | |
bool | b_map_vertices_indexToLabelIsEmpty |
Friends | |
bool | operator== (const Graph &g1, const Graph &g2) |
bool | operator< (const Graph &g1, const Graph &g2) |
ostream & | operator<< (ostream &, Graph const &) |
This class represents one graph.
Graph::Graph | ( | const vector< short unsigned int > & | iVertices, |
vector< string > * | ptr_map_vertices_indexToLabel, | ||
const vector< bool > & | bVerticesLinkable, | ||
const unsigned int & | iType, | ||
const bool & | bSpherical, | ||
const unsigned int & | iDataSupp = 0 |
||
) |
Constructeur.
iVertices( | const vector<short unsigned int>& ) Sommets composant le graphe |
ptr_map_vertices_indexToLabel( | vector< string > * ) Pointeur vers la correspondance index –> label des sommets |
bVerticesLinkable( | const vector< bool >& ) Ce à quoi le graphe est liable |
iType | ( const unsigned int & ) Type du graphe: A=0, B=1, ... |
bSpherical( | const bool& ) True si sphérique, false si euclidien |
iDataSupp( | const unsigned int & ) Eventuelle information supplémentaire, par exemple poids pour le G2 |
|
staticprivate |
Graph::bIsSubgraphOf | ( | const Graph * | grBig | ) | const |
Test if a graph (spherical) is a subgraph of another graph (spherical or euclidean)
grBig( | Graph* ) Bigger graph |
Graph::bIsSubgraphOf_spherical_euclidean | ( | const Graph * | grBig | ) | const |
Test if a graph (spherical) is a subgraph of another graph (euclidean) graph.
grBig( | Graph* ) Bigger graph |
Graph::bIsSubgraphOf_spherical_spherical | ( | const Graph * | grBig | ) | const |
Test if a graph (spherical) is a subgraph of another graph (spherical) graph.
grBig( | Graph* ) Bigger graph |
|
friend |
|
private |
bool Graph::bSpherical |
True if spherical, false if euclidean.
vector< bool > Graph::bVerticesLinkable |
A quels sommets on peut lier le graphe { sommets } \ { sommets du graphes et leurs voisins )
unsigned int Graph::iDataSupp |
In the case of G_2^n, the weight.
unsigned int Graph::iGraphType |
Type of the graph: A=0, B=1, ...
vector< short unsigned int > Graph::iVertices |
Vertices of the graph.
|
private |
Pointeur vers la correspondance.