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
6
#include <
si/learner/constLearner.h
>
7
8
9
namespace
sigraph
10
{
13
class
CopyLearner
:
public
ConstLearner
14
{
15
public
:
16
CopyLearner
();
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
30
inline
void
CopyLearner::process
(
LearnParam
*lp)
31
{
32
LearnConstParam
lp2(*lp);
33
process
(&lp2);
34
}
35
36
}
37
38
#endif
39
40
sigraph::ConstLearner::ConstLearner
ConstLearner(bool allowsChildren=true, const std::string &synt="const_learner")
sigraph::CopyLearner::~CopyLearner
virtual ~CopyLearner()
sigraph::CopyLearner::CopyLearner
CopyLearner()
sigraph::CopyLearner::process
virtual void process(LearnConstParam *lp)
Apprentissage sur une clique constante.
sigraph::CopyLearner::CopyLearner
CopyLearner(const std::string &syntax)
Definition
copyLearner.h:23
constLearner.h
sigraph
Definition
descrParser.h:10
sigraph::LearnConstParam
Definition
learnParam.h:16
sigraph::LearnParam
Definition
learnParam.h:38
si
learner
copyLearner.h
Generated by
1.13.2