12#ifndef SI_MODEL_TOPMODEL_H
13#define SI_MODEL_TOPMODEL_H
16#include <cartobase/object/attributed.h>
Graph modèle (classe abstraite).
TopModel(carto::AttributedObject *parent=0)
const std::string & voidLabel() const
void setVoidLabel(const std::string &s)
double _weight
Poids de l'élément dans le recuit.
carto::AttributedObject * _parentAO
void setMGraph(MGraph *mg)
std::string _voidLabel
Label par défaut, qu'on attribue à tous les noeuds de label non reconnus.
std::set< std::string > & significantLabels()
const std::set< std::string > & significantLabels() const
const MGraph * mGraph() const
virtual carto::AttributedObject * parentAO()
TopModel & operator=(const TopModel &tm)
void setParentAO(carto::AttributedObject *newParent)
virtual double confidenceFactor() const
confidence factor generally used to weight the model output (different from weight() which is another...
virtual void buildTree(Tree &tr) const
std::set< std::string > _significantLabels
Liste des labels qui ont un sens pour le modèle.
TopModel(const TopModel &tm)
virtual const carto::AttributedObject * parentAO() const
SyntaxedObject< PropertySet > AttributedObject