SiGraph: sulcal graphs


foldLabelsChanger.h
Go to the documentation of this file.
1
2#ifndef SI_FOLD_FOLDLABELSCHANGER_H
3#define SI_FOLD_FOLDLABELSCHANGER_H
4
5
7
8
9namespace sigraph
10{
11
15 {
16 public:
17 FoldLabelsChanger() : LabelsChanger( "fold_labels_changer" ) {}
18 virtual ~FoldLabelsChanger() {}
19
20 virtual double constrainedNoise( Clique* cl, double & outp,
21 const std::set<std::string> &
22 significantLabels,
23 const std::string & voidLabel );
24
26 virtual double distance( Vertex* v, const std::string & oldlabel,
27 const std::string & newlabel,
28 CliqueCache* cc = 0 );
30 virtual double edgeDist( Vertex* v, const std::string & oldlabel,
31 const std::string & newlabel, CliqueCache* cc );
33 virtual double output( double outp, double dist );
34
35 protected:
36 FoldLabelsChanger( const std::string & syntax )
37 : LabelsChanger( syntax ) {}
38
39 double noiseFoldDescr( Clique* cl, double & outp,
40 const std::set<std::string> & significantLabels,
41 const std::string & voidLabel );
43 double noiseFoldDescr2( Clique* cl, double & outp,
44 const std::set<std::string> & significantLabels,
45 const std::string & voidLabel );
47 double noiseIFDescr( Clique* cl, double & outp,
48 const std::set<std::string> & significantLabels,
49 const std::string & voidLabel );
51 double noiseIFDescr2( Clique* cl, double & outp,
52 const std::set<std::string> & significantLabels,
53 const std::string & voidLabel );
54
56 bool _edge;
58 std::string _label1;
60 std::string _label2;
62 std::string _version;
63
64 private:
65 };
66
67}
68
69#endif
70
Classe fourre-tout qui stocke des résultats plus ou moins intermédiaires de calculs sur les cliques.
Definition cliqueCache.h:34
Classe Clique.
Definition clique.h:35
double noiseFoldDescr2(Clique *cl, double &outp, const std::set< std::string > &significantLabels, const std::string &voidLabel)
Bruitage pour les nouveaux FoldDescr2.
std::string _label2
Pointeur sur void label.
bool _edge
Dit si c'est à une relation qu'on s'intéresse.
double noiseIFDescr2(Clique *cl, double &outp, const std::set< std::string > &significantLabels, const std::string &voidLabel)
Bruitage pour les nouveaux InterFoldDescr2.
FoldLabelsChanger(const std::string &syntax)
virtual double constrainedNoise(Clique *cl, double &outp, const std::set< std::string > &significantLabels, const std::string &voidLabel)
virtual double output(double outp, double dist)
Conversion distance -> sortie d'apprentissage.
virtual double edgeDist(Vertex *v, const std::string &oldlabel, const std::string &newlabel, CliqueCache *cc)
Distance de changement pour les relations.
double noiseIFDescr(Clique *cl, double &outp, const std::set< std::string > &significantLabels, const std::string &voidLabel)
Bruitage pour les anciens InterFoldDescr.
std::string _version
ID de version de FoldDescr/InterfoldDescr utilisé.
double noiseFoldDescr(Clique *cl, double &outp, const std::set< std::string > &significantLabels, const std::string &voidLabel)
Bruitage pour les anciens FoldDescr.
std::string _label1
Pointeur sur labels significatifs.
virtual double distance(Vertex *v, const std::string &oldlabel, const std::string &newlabel, CliqueCache *cc=0)
Distance de l'exemple changé à celui d'origine.