SiGraph: sulcal graphs


learner.h
Go to the documentation of this file.
1
2#ifndef SI_LEARNER_LEARNER_H
3#define SI_LEARNER_LEARNER_H
4
5
6#include <graph/tree/tree.h>
7#include <si/graph/clique.h>
9
10namespace sigraph
11{
21 class Learner : public Tree
22 {
23 public:
24 virtual ~Learner();
26 virtual void process(LearnParam *lp) = 0;
29 virtual void process(LearnConstParam *lp);
30 virtual void getVectors(LearnParam *lp);
31 virtual void getVectors(LearnConstParam *lp);
32
33 protected:
38 Learner( bool allowsChildren, const std::string & synt="" );
39
40 private:
41 };
42
43
44 // Fonctions inline
46{
47 process(lp);
48}
49
51{
52 process(lp);
53}
54
55}
56
57#endif
58
59
Tree(bool allowChildren=true, const std::string &str="")
virtual void getVectors(LearnParam *lp)
Definition learner.h:45
virtual ~Learner()
virtual void process(LearnParam *lp)=0
Effectue l'apprentissage, récursivement en transmettant aux enfants.
Learner(bool allowsChildren, const std::string &synt="")
Constructeur protégé.
virtual void process(LearnConstParam *lp)
Apprentissage sur une clique constante.