SiGraph: sulcal graphs


copyLearner.h
Go to the documentation of this file.
1
2#ifndef SI_LEARNER_COPYLEARNER_H
3#define SI_LEARNER_COPYLEARNER_H
4
5
7
8
9namespace sigraph
10{
14 {
15 public:
17 virtual ~CopyLearner();
18
19 virtual void process(LearnConstParam *lp);
20 virtual void process(LearnParam *lp);
21
22 protected:
23 CopyLearner( const std::string & syntax ) : ConstLearner( true, syntax ) {}
24
25 private:
26 };
27
28 // inline
29
31 {
32 LearnConstParam lp2(*lp);
33 process(&lp2);
34 }
35
36}
37
38#endif
39
40
ConstLearner(bool allowsChildren=true, const std::string &synt="const_learner")
virtual void process(LearnConstParam *lp)
Apprentissage sur une clique constante.
CopyLearner(const std::string &syntax)
Definition copyLearner.h:23