|
| | CGraph (std::string s="") |
| |
| virtual | ~CGraph () |
| |
| virtual void | deleteCliques () |
| |
| const CliqueSet & | cliques () const |
| |
| CliqueSet & | cliques () |
| |
| virtual void | randLabels () |
| |
| void | setAllLabels (const std::string &label) |
| | Met le label donné sur tous les noeuds.
|
| |
| void | ensureAllLabelsPossible () |
| | Elimine les labels impossibles au départ.
|
| |
| virtual void | clearAll () |
| |
| virtual void | loadBuckets (const std::string &basename, bool rels=false) |
| |
| | Graph (const std::string &s="") |
| |
| | Graph (const FactoryPtr factory, const std::string &s="") |
| |
| virtual | ~Graph () |
| |
| void | extract (Graph &graph, InputIterator iv1, InputIterator iv2) |
| |
| void | clear () |
| |
| Vertex * | addVertex (const std::string &s="") |
| |
| Vertex * | cloneVertex (const Vertex *vertex) |
| |
| bool | hasVertex (const Vertex *vertex) const |
| |
| void | removeVertex (Vertex *vertex) |
| |
| Vertex * | randomVertex () const |
| |
| const std::set< Vertex * > & | vertices () const |
| |
| std::set< Vertex * > | getVerticesWith (const std::string &s) const |
| |
| std::set< Vertex * > | getVerticesWith (const std::string &s, const T &t) const |
| |
| Edge * | addUndirectedEdge (Vertex *vertex1, Vertex *vertex2, std::string s) |
| |
| Edge * | addEdge (Vertex *vertex1, Vertex *vertex2, std::string s="") |
| |
| Edge * | addDirectedEdge (Vertex *vertex1, Vertex *vertex2, std::string s) |
| |
| bool | hasEdge (const Edge *edge) const |
| |
| void | removeEdge (Edge *edge) |
| |
| const std::set< Edge * > & | edges () const |
| |
| std::set< Edge * > | edges (const Vertex *vertex1, const Vertex *vertex2) const |
| |
| std::set< Edge * > | getEdgesWith (const std::string &s) const |
| |
| std::set< Edge * > | getEdgesWith (const std::string &s, const T &t) const |
| |
| iterator | begin () |
| |
| iterator | end () |
| |
| const_iterator | begin () const |
| |
| const_iterator | end () const |
| |
| reverse_iterator | rbegin () |
| |
| reverse_iterator | rend () |
| |
| const_reverse_iterator | rbegin () const |
| |
| const_reverse_iterator | rend () const |
| |
| size_t | order () const |
| |
| size_t | size () const __attribute__((__deprecated__("use edgeSize() for " "the number of edges. In a future release |
| |
| size_t | size () will return the " "number properties as it does in GenericObject"))) |
| |
| size_t | edgesSize () const |
| |
| virtual bool | isUndirected () const |
| |
| virtual bool | isDirected () const |
| |
| virtual bool | check (const carto::SyntaxSet &syntax, std::set< std::string > &missing) const |
| |
| void | clear () |
| |
| Vertex * | addVertex (const std::string &s="") |
| |
| Vertex * | cloneVertex (const Vertex *vertex) |
| |
| bool | hasVertex (const Vertex *vertex) const |
| |
| void | removeVertex (Vertex *vertex) |
| |
| Vertex * | randomVertex () const |
| |
| const std::set< Vertex * > & | vertices () const |
| |
| std::set< Vertex * > | getVerticesWith (const std::string &s) const |
| |
| std::set< Vertex * > | getVerticesWith (const std::string &s, const T &t) const |
| |
| Edge * | addUndirectedEdge (Vertex *vertex1, Vertex *vertex2, std::string s) |
| |
| Edge * | addEdge (Vertex *vertex1, Vertex *vertex2, std::string s="") |
| |
| Edge * | addDirectedEdge (Vertex *vertex1, Vertex *vertex2, std::string s) |
| |
| bool | hasEdge (const Edge *edge) const |
| |
| void | removeEdge (Edge *edge) |
| |
| const std::set< Edge * > & | edges () const |
| |
| std::set< Edge * > | edges (const Vertex *vertex1, const Vertex *vertex2) const |
| |
| std::set< Edge * > | getEdgesWith (const std::string &s) const |
| |
| std::set< Edge * > | getEdgesWith (const std::string &s, const T &t) const |
| |
| iterator | begin () |
| |
| iterator | end () |
| |
| const_iterator | begin () const |
| |
| const_iterator | end () const |
| |
| reverse_iterator | rbegin () |
| |
| reverse_iterator | rend () |
| |
| const_reverse_iterator | rbegin () const |
| |
| const_reverse_iterator | rend () const |
| |
| size_t | order () const |
| |
| size_t | size () const __attribute__((__deprecated__("use edgeSize() for " "the number of edges. In a future release |
| |
| size_t | size () will return the " "number properties as it does in GenericObject"))) |
| |
| size_t | edgesSize () const |
| |
| virtual bool | isUndirected () const |
| |
| virtual bool | isDirected () const |
| |
| virtual bool | check (const carto::SyntaxSet &syntax, std::set< std::string > &missing) const |
| |
| virtual | ~GraphObject () |
| |
| | SyntaxedObject (const std::string &s) |
| |
| | SyntaxedObject (const SyntaxedObject &x) |
| |
| | SyntaxedObject (const SyntaxedObject< PropertySet > &x) |
| |
| | SyntaxedObject (const std::string &s) |
| |
| | SyntaxedObject (const SyntaxedObject &x) |
| |
| | SyntaxedObject (const SyntaxedObject< PropertySet > &x) |
| |
Graphes avec étiquettes et gestion de cliques (classe abstraite).
Ce type de graphe est utilisé pour les graphes exemples à étiqueter (utilisés en particulier pour le recuit simulé, voir classe Anneal).
La fonction randLabels est définie par défaut pour assigner à chaque noeud un label aléatoirement choisi parmi ceux autorisés pour lui (ceux de la liste "possible_labels" ). Elle peut être redéfinie au besoin pour une initialisation plus fine.
Les étiquettes des noeuds sont stockés dans l'attribut "label".
Definition at line 36 of file cgraph.h.