SiGraph: sulcal graphs


selectiveLearner.h
Go to the documentation of this file.
1
2#ifndef SI_LEARNER_SELECTIVELEARNER_H
3#define SI_LEARNER_SELECTIVELEARNER_H
4
5
7#include <sys/types.h>
8#include <regex.h>
9
10
11namespace sigraph
12{
18 {
19 public:
20 SelectiveLearner( bool allowsChildren=true,
21 const std::string & synt="selective_learner" );
23
24 virtual void process(LearnParam *lp);
25 virtual void process(LearnConstParam *lp);
26 bool checkClique( const Clique* cl );
27
28 protected:
29 void initRegexp();
30
31 private:
32 regex_t _filter;
33 bool _ready;
34 };
35
36}
37
38#endif
39
40
Classe Clique.
Definition clique.h:35
ConstLearner(bool allowsChildren=true, const std::string &synt="const_learner")
virtual void process(LearnConstParam *lp)
Apprentissage sur une clique constante.
SelectiveLearner(bool allowsChildren=true, const std::string &synt="selective_learner")
bool checkClique(const Clique *cl)
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 n...