SiGraph: sulcal graphs


arnaudmodel.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2004 CEA
3 *
4 * This software and supporting documentation were developed by
5 * Olivier Coulon
6 * Laboratoire LSIS,Groupe LXAO
7 * ESIL, campus de Luminy, Case 925,
8 * 13288 Marseille Cedex 29, France
9 *
10 * CEA/DSV/SHFJ
11 * 4 place du General Leclerc
12 * 91401 Orsay cedex
13 * France
14 *
15 */
16
17
18#ifndef SI_ARNAUD_ARNAUDMODEL_H
19#define SI_ARNAUD_ARNAUDMODEL_H
20
21#include <si/model/model.h>
22#include <cartobase/smart/rcptr.h>
23#include <map>
24#include <string>
25
26namespace sigraph
27{
29 {
30 public:
31 ArnaudSimilarityModel( float simweight = 1, float simdist=20 );
33 virtual Model* clone() const;
35 ( const ArnaudSimilarityModel & );
36
37 virtual double prop( const Clique* cl );
38 virtual void buildTree( Tree & tr ) const;
39
41 const std::string & filename );
42
43 private:
44 float _simweight;
45 float _simdist;
46 };
47
48
50 {
51 public:
52 ArnaudDataDrivenModel( float ddweight = 1, float ddh=0.1, float ddx1=1, float ddx2=2);
54 virtual Model* clone() const;
56 ( const ArnaudDataDrivenModel & );
57
58 virtual double prop( const Clique* cl );
59 virtual void buildTree( Tree & tr ) const;
60
62 const std::string & filename );
63
64 private:
65 float _ddweight;
66 float _ddh;
67 float _ddx1;
68 float _ddx2;
69 };
70
72 {
73 public:
74 ArnaudLowerScaleModel( float lsweight = 1);
76 virtual Model* clone() const;
78 ( const ArnaudLowerScaleModel & );
79
80 virtual double prop( const Clique* cl );
81 virtual void buildTree( Tree & tr ) const;
82
84 const std::string & filename );
85
86 private:
87 float _lsweight;
88 };
89
91 {
92 public:
93 ArnaudIntraPSModel( float ipsweight = 1);
95 virtual Model* clone() const;
96 ArnaudIntraPSModel & operator =
97 ( const ArnaudIntraPSModel & );
98
99 virtual double prop( const Clique* cl );
100 virtual void buildTree( Tree & tr ) const;
101
103 const std::string & filename );
104
105 private:
106 float _ipsweight;
107 };
108
109}
110
111#endif
112
113
virtual Model * clone() const
Duplication (fonction abstraite)
virtual void buildTree(Tree &tr) const
(devrait être externe à la classe...)
static void buildDataDriven(carto::AttributedObject *parent, Tree *ao, const std::string &filename)
ArnaudDataDrivenModel(float ddweight=1, float ddh=0.1, float ddx1=1, float ddx2=2)
virtual double prop(const Clique *cl)
Propagation (réponse du modèle)
ArnaudIntraPSModel(float ipsweight=1)
virtual double prop(const Clique *cl)
Propagation (réponse du modèle)
virtual void buildTree(Tree &tr) const
(devrait être externe à la classe...)
virtual Model * clone() const
Duplication (fonction abstraite)
static void buildIntraPS(carto::AttributedObject *parent, Tree *ao, const std::string &filename)
virtual double prop(const Clique *cl)
Propagation (réponse du modèle)
virtual void buildTree(Tree &tr) const
(devrait être externe à la classe...)
virtual Model * clone() const
Duplication (fonction abstraite)
ArnaudLowerScaleModel(float lsweight=1)
static void buildLowerScale(carto::AttributedObject *parent, Tree *ao, const std::string &filename)
static void buildSimilarity(carto::AttributedObject *parent, Tree *ao, const std::string &filename)
virtual double prop(const Clique *cl)
Propagation (réponse du modèle)
virtual Model * clone() const
Duplication (fonction abstraite)
virtual void buildTree(Tree &tr) const
(devrait être externe à la classe...)
ArnaudSimilarityModel(float simweight=1, float simdist=20)
Classe Clique.
Definition clique.h:35
virtual Model * parent()
Donne le parent direct (0 si pas de parent)
Definition model.h:159
Model(Model *parent=0)
Definition model.h:120
SyntaxedObject< PropertySet > AttributedObject