2#ifndef SI_FOLD_LABELSTRANSLATOR_H
3#define SI_FOLD_LABELSTRANSLATOR_H
34 const std::string & filename =
"" )
56 const std::string & olabel=
"name",
57 const std::string & altilabel =
"" )
const;
66 const std::string & filename );
71 void insertTree(
const Tree & t );
72 void insertTree(
const Tree & t,
const std::set<std::string> & mnames );
Graphes avec étiquettes et gestion de cliques (classe abstraite).
void translate(CGraph &gr, const std::string &ilabel="name", const std::string &olabel="name", const std::string &altilabel="") const
Change les labels d'un graphe.
bool makeFromModelHierarchy(const MGraph &mg, const std::string &filename)
std::string lookupLabel(std::string label) const
bool makeFromModelJFM95(const MGraph &mg, const std::string &filename)
bool readJFM95(const std::string &filename)
bool readSelection(const std::string &filename)
bool readHierarchy(const std::string &filename)
void makeFromModel(const MGraph &mg, const std::string &filename)
Initializes table from a file AND a model graph.
FoldLabelsTranslator(const MGraph &mg, const std::string &filename="")
FoldLabelsTranslator(const std::string &filename)
void readLabels(const std::string &filename)
Initialise la table à partir d'un fichier.
Graph modèle (classe abstraite).