#include <si/functionalsketch/functionalsketchfinder.h>
|
| | FunctionalSketchFinder (MGraph &mg) |
| |
| virtual | ~FunctionalSketchFinder () |
| |
| virtual carto::AttributedObject * | selectModel (const Clique *cl) |
| | Choisit le noeud modèle dans le MGraph en fonction de la clique.
|
| |
| virtual void | initCliques (CGraph &data, bool verbose=true, bool withCache=false, bool translateLabels=true, bool checkLabels=true, const aims::SelectionSet *sel=0) |
| | Initialize cliques of data graph using the current model.
|
| |
| virtual | ~ModelFinder () |
| |
| const MGraph & | mGraph () const |
| |
| virtual double | potential (const Clique *cl) |
| | Donne le potentiel d'une clique.
|
| |
| virtual double | potential (const Clique *cl, std::map< Vertex *, std::string > &changes) |
| | Donne le potentiel d'une clique, après une transformation de labels de noeuds, en ne le recalculant que si les labels ayant changé changent effectivement le potentiel.
|
| |
| virtual double | update (const Clique *cl) |
| | Fait un update() sur le modèle sous-jacent.
|
| |
| virtual double | update (const Clique *cl, std::map< Vertex *, std::string > &changes) |
| | Fait un update() sur le modèle sous-jacent.
|
| |
| virtual bool | isAdaptive () const |
| | peut apprendre ?
|
| |
| virtual void | clear () |
| | nettoie les variables & caches éventuels
|
| |
| virtual double | printDescription (Clique *cl, bool naming=false) |
| | Calcule le potentiel et garde le(s) vecteur(s) de description de la clique.
|
| |
Definition at line 27 of file functionalsketchfinder.h.
◆ FunctionalSketchFinder()
| sigraph::FunctionalSketchFinder::FunctionalSketchFinder |
( |
MGraph & | mg | ) |
|
◆ ~FunctionalSketchFinder()
| virtual sigraph::FunctionalSketchFinder::~FunctionalSketchFinder |
( |
| ) |
|
|
virtual |
◆ initCliques()
| virtual void sigraph::FunctionalSketchFinder::initCliques |
( |
CGraph & | data, |
|
|
bool | verbose = true, |
|
|
bool | withCache = false, |
|
|
bool | translateLabels = true, |
|
|
bool | checkLabels = true, |
|
|
const aims::SelectionSet * | sel = 0 ) |
|
virtual |
Initialize cliques of data graph using the current model.
The default implementation only makes cliques of nodes with the same label, regardless of the model (only useful for morphometry-like applications).
- If a selection is provided, it is used to translate labels.
- The
translateLabels option is only used if no selection is provided. In this case it decides whether to make a selection "identity" (with no labels translation) or to use the model and a labels hierarchy (- See also
- LabelsTranslator) to select/group labels. To make it usable, the model has to provide elements with labels so the default implementation doesn't take care of it, it will only be useful for specialized ModelFinders (
-
FoldFinder)
Reimplemented from sigraph::ModelFinder.
◆ selectModel()
The documentation for this class was generated from the following file: