SiGraph: sulcal graphs


sigraph::FoldLabelsChanger Class Reference

Change des labels dans les cliques de sillons. More...

#include <si/fold/foldLabelsChanger.h>

Inheritance diagram for sigraph::FoldLabelsChanger:
Collaboration diagram for sigraph::FoldLabelsChanger:

Public Member Functions

 FoldLabelsChanger ()
 
virtual ~FoldLabelsChanger ()
 
virtual double constrainedNoise (Clique *cl, double &outp, const std::set< std::string > &significantLabels, const std::string &voidLabel)
 
virtual double distance (Vertex *v, const std::string &oldlabel, const std::string &newlabel, CliqueCache *cc=0)
 Distance de l'exemple changé à celui d'origine.
 
virtual double edgeDist (Vertex *v, const std::string &oldlabel, const std::string &newlabel, CliqueCache *cc)
 Distance de changement pour les relations.
 
virtual double output (double outp, double dist)
 Conversion distance -> sortie d'apprentissage.
 
- Public Member Functions inherited from sigraph::LabelsChanger
 LabelsChanger ()
 
virtual ~LabelsChanger ()
 
virtual double noise (Clique *cl, double &outp)
 
virtual double openNoise (Clique *cl, double &outp)
 
template<class T>
void intersection (const std::set< T > &s1, const std::set< T > &s2, std::set< T > &s3) const
 Intersection de sets.
 
virtual unsigned randomGen (unsigned n)
 Tirer un nombre entre 0 et n inclus, avec plus de chances pour les petits nombres.
 
- Public Member Functions inherited from sigraph::Noiser
virtual ~Noiser ()
 
virtual void process (LearnParam *lp)
 Effectue l'apprentissage, récursivement en transmettant aux enfants.
 
- Public Member Functions inherited from sigraph::Learner
virtual ~Learner ()
 
virtual void process (LearnConstParam *lp)
 Apprentissage sur une clique constante.
 
virtual void getVectors (LearnParam *lp)
 
virtual void getVectors (LearnConstParam *lp)
 
- Public Member Functions inherited from Tree
 Tree (bool allowChildren=true, const std::string &str="")
 
virtual ~Tree ()
 
virtual void accept (TreeVisitor &visitor)
 
virtual void const_accept (ConstTreeVisitor &visitor) const
 
virtual bool check (const carto::SyntaxSet &syntax, std::set< std::string > &missing) const
 
std::set< Tree * > getElementsWith (const std::string &, bool recurse=true) const
 
std::set< Tree * > getElementsWith (const std::string &, const T &, bool recurse=true) const
 
virtual size_t size () const __attribute__((__deprecated__))
 
virtual size_t childrenSize () const
 
- 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)
 
- Public Member Functions inherited from BaseTree
 BaseTree (bool allowsChildren=true)
 
virtual ~BaseTree ()
 
const std::list< BaseTree * > & children () const
 
bool getAllowsChildren () const
 
BaseTreegetChildAt (unsigned childIndex) const
 
int getIndex (BaseTree *node) const
 
BaseTreegetParent () const
 
BaseTreegetTopParent ()
 
const BaseTreegetTopParent () const
 
bool isLeaf () const
 
void insert (BaseTree *child, int index=-1)
 
void remove (unsigned index)
 
void remove (BaseTree *node)
 
void removeFromParent ()
 
void setParent (BaseTree *newParent)
 
void clear ()
 
const_iterator begin () const
 
const_iterator end () const
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 

Protected Member Functions

 FoldLabelsChanger (const std::string &syntax)
 
double noiseFoldDescr (Clique *cl, double &outp, const std::set< std::string > &significantLabels, const std::string &voidLabel)
 Bruitage pour les anciens FoldDescr.
 
double noiseFoldDescr2 (Clique *cl, double &outp, const std::set< std::string > &significantLabels, const std::string &voidLabel)
 Bruitage pour les nouveaux FoldDescr2.
 
double noiseIFDescr (Clique *cl, double &outp, const std::set< std::string > &significantLabels, const std::string &voidLabel)
 Bruitage pour les anciens InterFoldDescr.
 
double noiseIFDescr2 (Clique *cl, double &outp, const std::set< std::string > &significantLabels, const std::string &voidLabel)
 Bruitage pour les nouveaux InterFoldDescr2.
 
- Protected Member Functions inherited from sigraph::LabelsChanger
 LabelsChanger (const std::string &syntax)
 
- Protected Member Functions inherited from sigraph::Noiser
 Noiser (const std::string &syntax="noiser")
 
- Protected Member Functions inherited from sigraph::Learner
 Learner (bool allowsChildren, const std::string &synt="")
 Constructeur protégé.
 

Protected Attributes

bool _edge
 Dit si c'est à une relation qu'on s'intéresse.
 
std::string _label1
 Pointeur sur labels significatifs.
 
std::string _label2
 Pointeur sur void label.
 
std::string _version
 ID de version de FoldDescr/InterfoldDescr utilisé.
 

Additional Inherited Members

- Public Types inherited from carto::SyntaxedObject< PropertySet >
typedef internal::SyntaxedObjectSwitch< T, SUPERSUBCLASS(Interface, T)>::ContentType ContentType
 
- Public Types inherited from BaseTree
typedef std::list< BaseTree * >::iterator iterator
 
typedef std::list< BaseTree * >::const_iterator const_iterator
 
typedef std::list< BaseTree * >::reverse_iterator reverse_iterator
 
typedef std::list< BaseTree * >::const_reverse_iterator const_reverse_iterator
 

Detailed Description

Change des labels dans les cliques de sillons.

Definition at line 14 of file foldLabelsChanger.h.

Constructor & Destructor Documentation

◆ FoldLabelsChanger() [1/2]

◆ ~FoldLabelsChanger()

virtual sigraph::FoldLabelsChanger::~FoldLabelsChanger ( )
inlinevirtual

Definition at line 18 of file foldLabelsChanger.h.

◆ FoldLabelsChanger() [2/2]

sigraph::FoldLabelsChanger::FoldLabelsChanger ( const std::string & syntax)
inlineprotected

Definition at line 36 of file foldLabelsChanger.h.

References sigraph::LabelsChanger::LabelsChanger().

Member Function Documentation

◆ constrainedNoise()

virtual double sigraph::FoldLabelsChanger::constrainedNoise ( Clique * cl,
double & outp,
const std::set< std::string > & significantLabels,
const std::string & voidLabel )
virtual

◆ distance()

virtual double sigraph::FoldLabelsChanger::distance ( Vertex * v,
const std::string & oldlabel,
const std::string & newlabel,
CliqueCache * cc = 0 )
virtual

Distance de l'exemple changé à celui d'origine.

Reimplemented from sigraph::LabelsChanger.

◆ edgeDist()

virtual double sigraph::FoldLabelsChanger::edgeDist ( Vertex * v,
const std::string & oldlabel,
const std::string & newlabel,
CliqueCache * cc )
virtual

Distance de changement pour les relations.

◆ noiseFoldDescr()

double sigraph::FoldLabelsChanger::noiseFoldDescr ( Clique * cl,
double & outp,
const std::set< std::string > & significantLabels,
const std::string & voidLabel )
protected

Bruitage pour les anciens FoldDescr.

◆ noiseFoldDescr2()

double sigraph::FoldLabelsChanger::noiseFoldDescr2 ( Clique * cl,
double & outp,
const std::set< std::string > & significantLabels,
const std::string & voidLabel )
protected

Bruitage pour les nouveaux FoldDescr2.

◆ noiseIFDescr()

double sigraph::FoldLabelsChanger::noiseIFDescr ( Clique * cl,
double & outp,
const std::set< std::string > & significantLabels,
const std::string & voidLabel )
protected

Bruitage pour les anciens InterFoldDescr.

◆ noiseIFDescr2()

double sigraph::FoldLabelsChanger::noiseIFDescr2 ( Clique * cl,
double & outp,
const std::set< std::string > & significantLabels,
const std::string & voidLabel )
protected

Bruitage pour les nouveaux InterFoldDescr2.

◆ output()

virtual double sigraph::FoldLabelsChanger::output ( double outp,
double dist )
virtual

Conversion distance -> sortie d'apprentissage.

Member Data Documentation

◆ _edge

bool sigraph::FoldLabelsChanger::_edge
protected

Dit si c'est à une relation qu'on s'intéresse.

Definition at line 56 of file foldLabelsChanger.h.

◆ _label1

std::string sigraph::FoldLabelsChanger::_label1
protected

Pointeur sur labels significatifs.

Definition at line 58 of file foldLabelsChanger.h.

◆ _label2

std::string sigraph::FoldLabelsChanger::_label2
protected

Pointeur sur void label.

Definition at line 60 of file foldLabelsChanger.h.

◆ _version

std::string sigraph::FoldLabelsChanger::_version
protected

ID de version de FoldDescr/InterfoldDescr utilisé.

Definition at line 62 of file foldLabelsChanger.h.


The documentation for this class was generated from the following file: