SiGraph: sulcal graphs |
![]() |
#include <si/graph/clique.h>


Public Member Functions | |
| virtual | ~Clique () |
| virtual void | clear () |
| virtual Clique * | deepCopy () const =0 |
| copies the clique and the elements it refers too | |
Public Member Functions inherited from carto::SyntaxedObject< PropertySet > | |
| 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) | |
Protected Member Functions | |
| Clique () | |
| Clique (const Clique &cl) | |
| Ne copie que les attributs, pas les noeuds contenus ! | |
Additional Inherited Members | |
Public Types inherited from carto::SyntaxedObject< PropertySet > | |
| typedef internal::SyntaxedObjectSwitch< T, SUPERSUBCLASS(Interface, T)>::ContentType | ContentType |
Classe Clique.
Une clique contient la liste des Vertex qui la forment. Pour passer rapidement d'un Vertex à la liste des cliques qui le contiennent, on stocke dans les Vertex un attribut "cliques", qui est un pointeur sur un set<Clique*>. Cette liste de cliques est maintenue à jour par les cliques elles-mêmes (elles s'enregistrent et se désenregistrent quand le Vertex est ajouté ou enlevé de la clique, ou quand la clique est détruite), et effacée quand elle est vide (l'attribut "cliques" également). Clique dérive de AttributedObject pour permettre le stockage d'attributs, temporaires ou définitifs.
|
virtual |
|
inlineprotected |
Definition at line 69 of file clique.h.
Referenced by Clique(), deepCopy(), sigraph::VertexClique::deepCopy(), and sigraph::VertexClique::VertexClique().
|
protected |
Ne copie que les attributs, pas les noeuds contenus !
References Clique().
|
virtual |
Reimplemented in sigraph::VertexClique.
|
pure virtual |
copies the clique and the elements it refers too
For a VertexClique operating on graph vertices, the vertices are copied (althrough they are in the general case only pointers to the nodes inside the original graph).
This behaviour is needed for cliques modifications that will also affect the elements referred, such as noising data during learning. Copied cliques are requested to set their internal attribute "is_copy" (of type bool) to true, so we know when we have a copied clique which may have allocated data (and must free it upon destruction)
Inherited classes <it>MUST</it> define this important function
Implemented in sigraph::VertexClique.
References Clique().