SiGraph: sulcal graphs


annealConfigurator.h
Go to the documentation of this file.
1
2#ifndef SI_GRAPH_ANNEALCONFIGURATOR_H
3#define SI_GRAPH_ANNEALCONFIGURATOR_H
4
5
6#include <si/graph/anneal.h>
7#include <fstream>
8
9
10namespace sigraph
11{
12
18 {
19 public:
22
24 virtual bool loadConfig( const std::string & filename );
25 virtual void saveConfig( const std::string & filename );
27 virtual void initAnneal( Anneal &ann, std::ofstream *plotf = 0 ) const;
29 virtual void init();
31 virtual bool processParams();
32 virtual void loadGraphs( MGraph & rg, CGraph & fg );
33
34 std::string modelFile;
35 std::string graphFile;
36 std::vector<std::string> graphFiles;
37 std::string output;
38 std::vector<std::string> outputs;
39 std::string labelsMapFile;
40 int save;
42 float temp;
43 std::string mode;
44 float rate;
45 float tempICM;
46 float stopRate;
49 std::string iterType;
54 std::string plotFile;
57 std::string voidLabel;
58 std::string voidMode;
61 std::string extensionMode;
64 std::vector<std::string> extModes;
71 protected:
72
73 private:
74 };
75
76}
77
78#endif
79
std::vector< std::string > graphFiles
virtual void initAnneal(Anneal &ann, std::ofstream *plotf=0) const
ne s'occupe pas des "plotfiles" (il doit être ouvert avant)
Anneal::InitLabelsType initLabelType
virtual void saveConfig(const std::string &filename)
virtual bool loadConfig(const std::string &filename)
ne lit pas les graphes
virtual bool processParams()
appelée par loadConfig()
virtual void loadGraphs(MGraph &rg, CGraph &fg)
std::vector< std::string > extModes
virtual void init()
remet tout à zéro (config par défaut)
std::vector< std::string > outputs
Recuit simulé.
Definition anneal.h:123
Graphes avec étiquettes et gestion de cliques (classe abstraite).
Definition cgraph.h:37
Graph modèle (classe abstraite).
Definition mgraph.h:48