SiGraph: sulcal graphs


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