SiGraph: sulcal graphs


sigraph::CopyLearner Class Reference

Duplicateur de clique. More...

#include <si/learner/copyLearner.h>

Inheritance diagram for sigraph::CopyLearner:
Collaboration diagram for sigraph::CopyLearner:

Public Member Functions

 CopyLearner ()
 
virtual ~CopyLearner ()
 
virtual void process (LearnConstParam *lp)
 Apprentissage sur une clique constante.
 
virtual void process (LearnParam *lp)
 Cette version de process() opérant sur des cliques non-const doit être redéfinie par les classes dérivées: on ne peut pas simplement la "brancher" sur la fonction opérant sur des cliques const sinon cela empêche d'utiliser des enfants ne dérivant pas de ConstLearner.
 
- Public Member Functions inherited from sigraph::ConstLearner
 ConstLearner (bool allowsChildren=true, const std::string &synt="const_learner")
 
virtual ~ConstLearner ()
 
- Public Member Functions inherited from sigraph::Learner
virtual ~Learner ()
 
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

 CopyLearner (const std::string &syntax)
 
- Protected Member Functions inherited from sigraph::Learner
 Learner (bool allowsChildren, const std::string &synt="")
 Constructeur protégé.
 

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

Duplicateur de clique.

Definition at line 13 of file copyLearner.h.

Constructor & Destructor Documentation

◆ CopyLearner() [1/2]

sigraph::CopyLearner::CopyLearner ( )

◆ ~CopyLearner()

virtual sigraph::CopyLearner::~CopyLearner ( )
virtual

◆ CopyLearner() [2/2]

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

Definition at line 23 of file copyLearner.h.

References sigraph::ConstLearner::ConstLearner().

Member Function Documentation

◆ process() [1/2]

virtual void sigraph::CopyLearner::process ( LearnConstParam * lp)
virtual

Apprentissage sur une clique constante.

Par défaut (non-const), provoque une erreur.

Reimplemented from sigraph::ConstLearner.

Reimplemented in sigraph::FoldCopier.

Referenced by process().

◆ process() [2/2]

void sigraph::CopyLearner::process ( LearnParam * lp)
inlinevirtual

Cette version de process() opérant sur des cliques non-const doit être redéfinie par les classes dérivées: on ne peut pas simplement la "brancher" sur la fonction opérant sur des cliques const sinon cela empêche d'utiliser des enfants ne dérivant pas de ConstLearner.

Reimplemented from sigraph::ConstLearner.

Reimplemented in sigraph::FoldCopier.

Definition at line 30 of file copyLearner.h.

References process().


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