Structural deformable models
Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
SearcherParams Class Reference

#include <Searcher.h>

Collaboration diagram for SearcherParams:
Collaboration graph
[legend]

Public Member Functions

 SearcherParams ()
 
std::ostream & write (std::ostream &os, bool showcomment=false) const
 
bool read (ParseFile &is)
 

Public Attributes

dword m_NSpawns
 number of new spawned shapes at each cycle More...
 
float m_NSpawnsTHRed
 threshold reduction factor for new spawns More...
 
dword m_MaxPop
 maximum population count More...
 
dword m_NClusters
 number of clusters (winners) determined at each cycle More...
 
float m_ClusterTH
 least quality of cluster relative to the best More...
 
float m_ClusterDPos
 maximum distance of shapes in a cluster (relative to shape radius) More...
 
float m_ClusterDScale
 maximum relative difference in scale to cluster representative More...
 
float m_ClusterDDir
 maximum difference in direction in $$ More...
 
float m_ClusterMeltDist
 maximum Hausdorff distance in mm for melting two shapes More...
 
float m_RelBinDist
 distance of bins relative to representative radius More...
 
float m_EvolveCycle
 time in seconds for one evolution cycle More...
 
float m_MutateRate
 initial mutation rate More...
 
float m_MutateHL
 half-life of mutation rate in seconds More...
 
float m_MutateTHRed
 threshold reduction factor for mutated spawns More...
 
float m_ScaleStd
 scale stdev of link More...
 
dword m_MutateSpawns
 number of spawns when mutating a shape More...
 
float m_MutatePDir
 probability of mutation of orientation More...
 
float m_MutatePPos
 probability of mutation of position More...
 
float m_MutatePNoise
 probability of mutation of node positions More...
 
float m_MutateNoiseRate
 distortion ratio for node positions More...
 
float m_MutatePProp
 probability of mutation of proportion More...
 
float m_MutatePropRate
 rate of adaption of proportion More...
 
float m_ShapeWeight
 influence of shape deformation on QOF More...
 
float m_RatingTH
 least allowed rating for a winner More...
 
float m_PCTH
 threshold for principle components More...
 
int m_ParaSolver
 method for solving ODE, 0-gauss, 1-midpnt More...
 
int m_PDist
 type of probability distr. to represent structural relationships More...
 
int m_MaxShoot
 maximum number of spawns from an exp map More...
 

Static Public Attributes

static SearcherParams global
 

Friends

std::ostream & operator<< (std::ostream &os, const SearcherParams &rhs)
 
std::istream & operator>> (std::istream &is, SearcherParams &rhs)
 

Detailed Description

Definition at line 149 of file Searcher.h.

Constructor & Destructor Documentation

SearcherParams::SearcherParams ( )

Definition at line 797 of file Searcher.cpp.

References Searcher::m_MutateRate, Searcher::m_NClusters, Searcher::m_ShapeWeight, PARA_MAXSHOOT, PARA_PCTH, PARA_PDIST, SRCH_CLUSTERDDIR, SRCH_CLUSTERDMELT, SRCH_CLUSTERDPOS, SRCH_CLUSTERDSCALE, SRCH_CLUSTERTH, SRCH_CYCLE_T, SRCH_MAXPOP, SRCH_MUTATE_HL, SRCH_MUTATE_NOISERATE, SRCH_MUTATE_PDIR, SRCH_MUTATE_PNOISE, SRCH_MUTATE_PPOS, SRCH_MUTATE_PPROP, SRCH_MUTATE_PROPRATE, SRCH_MUTATE_RATE, SRCH_MUTATE_SPAWNS, SRCH_MUTATE_THRED, SRCH_NCLUSTERS, SRCH_NEW_SPAWNS, SRCH_NEW_SPAWNS_THRED, SRCH_RATINGTH, SRCH_RELBINDIST, SRCH_SCALESTD, and SRCH_SHAPEWEIGHT.

798 {
800 
804 
812 
825  m_PCTH = PARA_PCTH;
828 
830 }
dword m_MutateSpawns
number of spawns when mutating a shape
Definition: Searcher.h:177
float m_RelBinDist
distance of bins relative to representative radius
Definition: Searcher.h:170
#define SRCH_CLUSTERDPOS
Definition: Searcher.cpp:18
float m_MutatePropRate
rate of adaption of proportion
Definition: Searcher.h:183
float m_ClusterMeltDist
maximum Hausdorff distance in mm for melting two shapes
Definition: Searcher.h:169
float m_ShapeWeight
influence of shape deformation on QOF
Definition: Searcher.h:185
float m_MutatePProp
probability of mutation of proportion
Definition: Searcher.h:182
#define SRCH_CLUSTERTH
Definition: Searcher.cpp:17
#define PARA_PDIST
Definition: Searcher.cpp:40
float m_PCTH
threshold for principle components
Definition: Searcher.h:188
float m_MutateRate
initial mutation rate
Definition: Searcher.h:173
float m_ScaleStd
scale stdev of link
Definition: Searcher.h:176
float m_ClusterDScale
maximum relative difference in scale to cluster representative
Definition: Searcher.h:167
float m_ClusterTH
least quality of cluster relative to the best
Definition: Searcher.h:165
#define SRCH_RATINGTH
Definition: Searcher.cpp:35
dword m_NSpawns
number of new spawned shapes at each cycle
Definition: Searcher.h:161
float m_NSpawnsTHRed
threshold reduction factor for new spawns
Definition: Searcher.h:162
int m_PDist
type of probability distr. to represent structural relationships
Definition: Searcher.h:190
#define SRCH_MAXPOP
Definition: Searcher.cpp:12
#define SRCH_CLUSTERDMELT
Definition: Searcher.cpp:19
dword m_NClusters
number of clusters (winners) determined at each cycle
Definition: Searcher.h:164
int m_MaxShoot
maximum number of spawns from an exp map
Definition: Searcher.h:191
#define SRCH_CLUSTERDSCALE
Definition: Searcher.cpp:20
#define PARA_MAXSHOOT
Definition: Searcher.cpp:42
#define SRCH_MUTATE_PROPRATE
Definition: Searcher.cpp:33
#define SRCH_NEW_SPAWNS_THRED
Definition: Searcher.cpp:16
float m_MutateTHRed
threshold reduction factor for mutated spawns
Definition: Searcher.h:175
#define SRCH_MUTATE_PNOISE
Definition: Searcher.cpp:30
float m_MutateHL
half-life of mutation rate in seconds
Definition: Searcher.h:174
#define SRCH_SCALESTD
Definition: Searcher.cpp:37
float m_EvolveCycle
time in seconds for one evolution cycle
Definition: Searcher.h:172
#define SRCH_MUTATE_PPOS
Definition: Searcher.cpp:29
#define SRCH_MUTATE_RATE
Definition: Searcher.cpp:26
#define SRCH_CYCLE_T
Definition: Searcher.cpp:11
#define PARA_PCTH
Definition: Searcher.cpp:39
#define SRCH_SHAPEWEIGHT
Definition: Searcher.cpp:36
#define SRCH_MUTATE_HL
Definition: Searcher.cpp:27
#define SRCH_MUTATE_NOISERATE
Definition: Searcher.cpp:31
#define SRCH_RELBINDIST
Definition: Searcher.cpp:22
#define SRCH_MUTATE_SPAWNS
Definition: Searcher.cpp:24
float m_RatingTH
least allowed rating for a winner
Definition: Searcher.h:187
float m_ClusterDDir
maximum difference in direction in $$
Definition: Searcher.h:168
float m_ClusterDPos
maximum distance of shapes in a cluster (relative to shape radius)
Definition: Searcher.h:166
dword m_MaxPop
maximum population count
Definition: Searcher.h:163
#define SRCH_NCLUSTERS
Definition: Searcher.cpp:14
#define SRCH_NEW_SPAWNS
Definition: Searcher.cpp:15
float m_MutateNoiseRate
distortion ratio for node positions
Definition: Searcher.h:181
float m_MutatePDir
probability of mutation of orientation
Definition: Searcher.h:178
#define SRCH_MUTATE_PPROP
Definition: Searcher.cpp:32
#define SRCH_MUTATE_PDIR
Definition: Searcher.cpp:28
float m_MutatePNoise
probability of mutation of node positions
Definition: Searcher.h:180
#define SRCH_CLUSTERDDIR
Definition: Searcher.cpp:21
#define SRCH_MUTATE_THRED
Definition: Searcher.cpp:25
float m_MutatePPos
probability of mutation of position
Definition: Searcher.h:179

Member Function Documentation

bool SearcherParams::read ( ParseFile is)

Definition at line 924 of file Searcher.cpp.

References fromString(), ParseFile::getKey(), ParseFile::getNextLine(), ParseFile::getValue(), Searcher::m_MutateRate, Searcher::m_NClusters, Searcher::m_ShapeWeight, and ParseFile::pushLine().

Referenced by Brain::load().

925 {
926  bool issearcher = false, goon=true;
927  while(goon && is.getNextLine()) {
928  if(is.getKey() == "searcher") issearcher = true;
929  else if(!issearcher) {
930  is.pushLine();
931  return false;
932  } else if(is.getKey() == "evolvecycle") {
934  } else if(is.getKey() == "maxpop") {
936  } else if(is.getKey() == "nspawns") {
938  } else if(is.getKey() == "nspawnsthred") {
940  } else if(is.getKey() == "nclusters") {
942  } else if(is.getKey() == "clusterth") {
944  } else if(is.getKey() == "clusterdpos") {
946  } else if(is.getKey() == "clusterdscale") {
948  } else if(is.getKey() == "clusterddir") {
950  } else if(is.getKey() == "clustermeltdist") {
952  } else if(is.getKey() == "relbindist") {
954  } else if(is.getKey() == "mutaterate") {
956  } else if(is.getKey() == "mutatehl") {
958  } else if(is.getKey() == "mutatespawns") {
960  } else if(is.getKey() == "mutatethred") {
962  } else if(is.getKey() == "mutatepdir") {
964  } else if(is.getKey() == "mutateppos") {
966  } else if(is.getKey() == "mutatepnoise") {
968  } else if(is.getKey() == "mutatenoiserate") {
970  } else if(is.getKey() == "mutatepprop") {
972  } else if(is.getKey() == "mutateproprate") {
974  } else if(is.getKey() == "shapeweight") {
976  } else if(is.getKey() == "solver") {
978  } else if(is.getKey() == "ratingth") {
980  } else if(is.getKey() == "pcth") {
981  fromString(is.getValue(), m_PCTH);
982  } else if(is.getKey() == "pdist") {
983  fromString(is.getValue(), m_PDist);
984  } else if(is.getKey() == "scalestd") {
986  } else if(is.getKey() == "maxshoot") {
988  } else if(is.getKey() == "end") goon = false;
989  }
990  return true;
991 }
dword m_MutateSpawns
number of spawns when mutating a shape
Definition: Searcher.h:177
float m_RelBinDist
distance of bins relative to representative radius
Definition: Searcher.h:170
float m_MutatePropRate
rate of adaption of proportion
Definition: Searcher.h:183
float m_ClusterMeltDist
maximum Hausdorff distance in mm for melting two shapes
Definition: Searcher.h:169
float m_ShapeWeight
influence of shape deformation on QOF
Definition: Searcher.h:185
T & fromString(const std::string &str, T &v)
Definition: utils.h:67
float m_MutatePProp
probability of mutation of proportion
Definition: Searcher.h:182
float m_PCTH
threshold for principle components
Definition: Searcher.h:188
float m_MutateRate
initial mutation rate
Definition: Searcher.h:173
float m_ScaleStd
scale stdev of link
Definition: Searcher.h:176
const std::string & getValue() const
Definition: ParseFile.h:57
float m_ClusterDScale
maximum relative difference in scale to cluster representative
Definition: Searcher.h:167
float m_ClusterTH
least quality of cluster relative to the best
Definition: Searcher.h:165
dword m_NSpawns
number of new spawned shapes at each cycle
Definition: Searcher.h:161
float m_NSpawnsTHRed
threshold reduction factor for new spawns
Definition: Searcher.h:162
int m_PDist
type of probability distr. to represent structural relationships
Definition: Searcher.h:190
dword m_NClusters
number of clusters (winners) determined at each cycle
Definition: Searcher.h:164
int m_MaxShoot
maximum number of spawns from an exp map
Definition: Searcher.h:191
float m_MutateTHRed
threshold reduction factor for mutated spawns
Definition: Searcher.h:175
const std::string & getKey() const
Definition: ParseFile.h:56
float m_MutateHL
half-life of mutation rate in seconds
Definition: Searcher.h:174
int m_ParaSolver
method for solving ODE, 0-gauss, 1-midpnt
Definition: Searcher.h:189
float m_EvolveCycle
time in seconds for one evolution cycle
Definition: Searcher.h:172
float m_RatingTH
least allowed rating for a winner
Definition: Searcher.h:187
float m_ClusterDDir
maximum difference in direction in $$
Definition: Searcher.h:168
float m_ClusterDPos
maximum distance of shapes in a cluster (relative to shape radius)
Definition: Searcher.h:166
dword m_MaxPop
maximum population count
Definition: Searcher.h:163
void pushLine(const std::string &line)
Definition: ParseFile.h:74
float m_MutateNoiseRate
distortion ratio for node positions
Definition: Searcher.h:181
float m_MutatePDir
probability of mutation of orientation
Definition: Searcher.h:178
float m_MutatePNoise
probability of mutation of node positions
Definition: Searcher.h:180
const bool getNextLine()
Definition: ParseFile.h:59
float m_MutatePPos
probability of mutation of position
Definition: Searcher.h:179
ostream & SearcherParams::write ( std::ostream &  os,
bool  showcomment = false 
) const

Definition at line 832 of file Searcher.cpp.

References Searcher::m_MutateRate, Searcher::m_NClusters, Searcher::m_ShapeWeight, PARA_MAXSHOOT, PARA_PCTH, PARA_PDIST, PARA_SOLVER, SRCH_CLUSTERDDIR, SRCH_CLUSTERDMELT, SRCH_CLUSTERDPOS, SRCH_CLUSTERDSCALE, SRCH_CLUSTERTH, SRCH_CYCLE_T, SRCH_MAXPOP, SRCH_MUTATE_HL, SRCH_MUTATE_NOISERATE, SRCH_MUTATE_PDIR, SRCH_MUTATE_PNOISE, SRCH_MUTATE_PPOS, SRCH_MUTATE_PPROP, SRCH_MUTATE_PROPRATE, SRCH_MUTATE_RATE, SRCH_MUTATE_SPAWNS, SRCH_MUTATE_THRED, SRCH_NCLUSTERS, SRCH_NEW_SPAWNS, SRCH_NEW_SPAWNS_THRED, SRCH_RATINGTH, SRCH_RELBINDIST, SRCH_SCALESTD, and SRCH_SHAPEWEIGHT.

Referenced by Brain::doCommand(), and Brain::load().

833 {
834  os << "searcher" << endl;
836  os<<" evolvecycle "<<m_EvolveCycle<<endl;
837  else if(showcomment) os<<" # evolvecycle "<<m_EvolveCycle<<endl;
838  if(m_MaxPop != SRCH_MAXPOP)
839  os<<" maxpop "<< m_MaxPop<<endl;
840  else if(showcomment) os<<" # maxpop "<<m_MaxPop<<endl;
842  os<<" nspawns "<< m_NSpawns<<endl;
843  else if(showcomment) os<<" # nspawns "<<m_NSpawns<<endl;
845  os<<" nspawnsthred "<< m_NSpawnsTHRed<<endl;
846  else if(showcomment) os<<" # nspawnsthred "<<m_NSpawnsTHRed<<endl;
848  os<<" nclusters "<< m_NClusters<<endl;
849  else if(showcomment) os<<" # nclusters "<<m_NClusters<<endl;
851  os<<" clusterth "<< m_ClusterTH<<endl;
852  else if(showcomment) os<<" # clusterth "<<m_ClusterTH<<endl;
854  os<<" clusterdpos "<< m_ClusterDPos<<endl;
855  else if(showcomment) os<<" # clusterdpos "<<m_ClusterDPos<<endl;
857  os<<" clusterdscale "<< m_ClusterDScale<<endl;
858  else if(showcomment) os<<" # clusterdscale "<<m_ClusterDScale<<endl;
860  os<<" clusterddir "<< m_ClusterDDir<<endl;
861  else if(showcomment) os<<" # clusterddir "<<m_ClusterDDir<<endl;
863  os<<" clustermeltdist "<< m_ClusterMeltDist<<endl;
864  else if(showcomment) os<<" # clustermeltdist "<<m_ClusterMeltDist<<endl;
866  os<<" relbindist "<< m_RelBinDist<<endl;
867  else if(showcomment) os<<" # relbindist "<<m_RelBinDist<<endl;
869  os<<" mutaterate "<< m_MutateRate<<endl;
870  else if(showcomment) os<<" # mutaterate "<<m_MutateRate<<endl;
872  os<<" mutatehl "<< m_MutateHL<<endl;
873  else if(showcomment) os<<" # mutatehl "<<m_MutateHL<<endl;
875  os<<" mutatespawns "<< m_MutateSpawns<<endl;
876  else if(showcomment) os<<" # mutatespawns "<<m_MutateSpawns<<endl;
878  os<<" mutatethred "<< m_MutateTHRed<<endl;
879  else if(showcomment) os<<" # mutatethred "<<m_MutateTHRed<<endl;
881  os<<" mutatepdir "<< m_MutatePDir<<endl;
882  else if(showcomment) os<<" # mutatepdir "<<m_MutatePDir<<endl;
884  os<<" mutateppos "<< m_MutatePPos<<endl;
885  else if(showcomment) os<<" # mutateppos "<<m_MutatePPos<<endl;
887  os<<" mutatepnoise "<< m_MutatePNoise<<endl;
888  else if(showcomment) os<<" # mutatepnoise "<<m_MutatePNoise<<endl;
890  os<<" mutatenoiserate "<< m_MutateNoiseRate<<endl;
891  else if(showcomment) os<<" # mutatenoiserate "<<m_MutateNoiseRate<<endl;
893  os<<" mutatepprop "<< m_MutatePProp<<endl;
894  else if(showcomment) os<<" # mutatepprop "<<m_MutatePProp<<endl;
896  os<<" mutateproprate "<< m_MutatePropRate<<endl;
897  else if(showcomment) os<<" # mutateproprate "<<m_MutatePropRate<<endl;
899  os<<" shapeweight "<< m_ShapeWeight<<endl;
900  else if(showcomment) os<<" # shapeweight "<<m_ShapeWeight<<endl;
902  os<<" solver "<< m_ParaSolver<<endl;
903  else if(showcomment) os<<" # solver "<<m_ParaSolver<<endl;
905  os<<" ratingth "<< m_RatingTH<<endl;
906  else if(showcomment) os<<" # ratingth "<<m_RatingTH<<endl;
907  if(m_PCTH != PARA_PCTH)
908  os<<" pcth "<< m_PCTH<<endl;
909  else if(showcomment) os<<" # pcth "<<m_PCTH<<endl;
910  if(m_PDist != PARA_PDIST)
911  os<<" pdist "<< m_PDist<<endl;
912  else if(showcomment) os<<" # pdist "<<m_PDist<<endl;
914  os<<" scalestd "<< m_ScaleStd<<endl;
915  else if(showcomment) os<<" # scalestd "<<m_ScaleStd<<endl;
917  os<<" maxshoot "<< m_MaxShoot <<endl;
918  else if(showcomment) os<<" # maxshoot "<<m_MaxShoot<<endl;
919  //if( != ) os << " = " << << endl;
920  os << "end" << endl;
921  return os;
922 }
dword m_MutateSpawns
number of spawns when mutating a shape
Definition: Searcher.h:177
float m_RelBinDist
distance of bins relative to representative radius
Definition: Searcher.h:170
#define SRCH_CLUSTERDPOS
Definition: Searcher.cpp:18
float m_MutatePropRate
rate of adaption of proportion
Definition: Searcher.h:183
float m_ClusterMeltDist
maximum Hausdorff distance in mm for melting two shapes
Definition: Searcher.h:169
float m_ShapeWeight
influence of shape deformation on QOF
Definition: Searcher.h:185
float m_MutatePProp
probability of mutation of proportion
Definition: Searcher.h:182
#define SRCH_CLUSTERTH
Definition: Searcher.cpp:17
#define PARA_PDIST
Definition: Searcher.cpp:40
#define PARA_SOLVER
Definition: Searcher.cpp:41
float m_PCTH
threshold for principle components
Definition: Searcher.h:188
float m_MutateRate
initial mutation rate
Definition: Searcher.h:173
float m_ScaleStd
scale stdev of link
Definition: Searcher.h:176
float m_ClusterDScale
maximum relative difference in scale to cluster representative
Definition: Searcher.h:167
float m_ClusterTH
least quality of cluster relative to the best
Definition: Searcher.h:165
#define SRCH_RATINGTH
Definition: Searcher.cpp:35
dword m_NSpawns
number of new spawned shapes at each cycle
Definition: Searcher.h:161
float m_NSpawnsTHRed
threshold reduction factor for new spawns
Definition: Searcher.h:162
int m_PDist
type of probability distr. to represent structural relationships
Definition: Searcher.h:190
#define SRCH_MAXPOP
Definition: Searcher.cpp:12
#define SRCH_CLUSTERDMELT
Definition: Searcher.cpp:19
dword m_NClusters
number of clusters (winners) determined at each cycle
Definition: Searcher.h:164
int m_MaxShoot
maximum number of spawns from an exp map
Definition: Searcher.h:191
#define SRCH_CLUSTERDSCALE
Definition: Searcher.cpp:20
#define PARA_MAXSHOOT
Definition: Searcher.cpp:42
#define SRCH_MUTATE_PROPRATE
Definition: Searcher.cpp:33
#define SRCH_NEW_SPAWNS_THRED
Definition: Searcher.cpp:16
float m_MutateTHRed
threshold reduction factor for mutated spawns
Definition: Searcher.h:175
#define SRCH_MUTATE_PNOISE
Definition: Searcher.cpp:30
float m_MutateHL
half-life of mutation rate in seconds
Definition: Searcher.h:174
int m_ParaSolver
method for solving ODE, 0-gauss, 1-midpnt
Definition: Searcher.h:189
#define SRCH_SCALESTD
Definition: Searcher.cpp:37
float m_EvolveCycle
time in seconds for one evolution cycle
Definition: Searcher.h:172
#define SRCH_MUTATE_PPOS
Definition: Searcher.cpp:29
#define SRCH_MUTATE_RATE
Definition: Searcher.cpp:26
#define SRCH_CYCLE_T
Definition: Searcher.cpp:11
#define PARA_PCTH
Definition: Searcher.cpp:39
#define SRCH_SHAPEWEIGHT
Definition: Searcher.cpp:36
#define SRCH_MUTATE_HL
Definition: Searcher.cpp:27
#define SRCH_MUTATE_NOISERATE
Definition: Searcher.cpp:31
#define SRCH_RELBINDIST
Definition: Searcher.cpp:22
#define SRCH_MUTATE_SPAWNS
Definition: Searcher.cpp:24
float m_RatingTH
least allowed rating for a winner
Definition: Searcher.h:187
float m_ClusterDDir
maximum difference in direction in $$
Definition: Searcher.h:168
float m_ClusterDPos
maximum distance of shapes in a cluster (relative to shape radius)
Definition: Searcher.h:166
dword m_MaxPop
maximum population count
Definition: Searcher.h:163
#define SRCH_NCLUSTERS
Definition: Searcher.cpp:14
#define SRCH_NEW_SPAWNS
Definition: Searcher.cpp:15
float m_MutateNoiseRate
distortion ratio for node positions
Definition: Searcher.h:181
float m_MutatePDir
probability of mutation of orientation
Definition: Searcher.h:178
#define SRCH_MUTATE_PPROP
Definition: Searcher.cpp:32
#define SRCH_MUTATE_PDIR
Definition: Searcher.cpp:28
float m_MutatePNoise
probability of mutation of node positions
Definition: Searcher.h:180
#define SRCH_CLUSTERDDIR
Definition: Searcher.cpp:21
#define SRCH_MUTATE_THRED
Definition: Searcher.cpp:25
float m_MutatePPos
probability of mutation of position
Definition: Searcher.h:179

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const SearcherParams rhs 
)
friend

Definition at line 154 of file Searcher.h.

156  { return rhs.write(os); }
std::ostream & write(std::ostream &os, bool showcomment=false) const
Definition: Searcher.cpp:832
std::istream& operator>> ( std::istream &  is,
SearcherParams rhs 
)
friend

Definition at line 157 of file Searcher.h.

158  { ParseFile pf(is); rhs.read(pf); return is; }
bool read(ParseFile &is)
Definition: Searcher.cpp:924

Member Data Documentation

SearcherParams SearcherParams::global
static

Definition at line 159 of file Searcher.h.

Referenced by getSearchPara(), and Searcher::triggerTest().

float SearcherParams::m_ClusterDDir

maximum difference in direction in $$

Definition at line 168 of file Searcher.h.

Referenced by Searcher::buildClusters().

float SearcherParams::m_ClusterDPos

maximum distance of shapes in a cluster (relative to shape radius)

Definition at line 166 of file Searcher.h.

Referenced by Searcher::buildClusters().

float SearcherParams::m_ClusterDScale

maximum relative difference in scale to cluster representative

Definition at line 167 of file Searcher.h.

Referenced by Searcher::buildClusters().

float SearcherParams::m_ClusterMeltDist

maximum Hausdorff distance in mm for melting two shapes

Definition at line 169 of file Searcher.h.

Referenced by Searcher::buildClusters().

float SearcherParams::m_ClusterTH

least quality of cluster relative to the best

Definition at line 165 of file Searcher.h.

Referenced by Searcher::buildClusters().

float SearcherParams::m_EvolveCycle

time in seconds for one evolution cycle

Definition at line 172 of file Searcher.h.

Referenced by Searcher::evolve(), Searcher::getGeneration(), and StructTable::stepSearch().

dword SearcherParams::m_MaxPop

maximum population count

Definition at line 163 of file Searcher.h.

Referenced by Searcher::evolve().

int SearcherParams::m_MaxShoot

maximum number of spawns from an exp map

Definition at line 191 of file Searcher.h.

Referenced by MStructure::addExpectation().

float SearcherParams::m_MutateHL

half-life of mutation rate in seconds

Definition at line 174 of file Searcher.h.

float SearcherParams::m_MutateNoiseRate

distortion ratio for node positions

Definition at line 181 of file Searcher.h.

float SearcherParams::m_MutatePDir

probability of mutation of orientation

Definition at line 178 of file Searcher.h.

float SearcherParams::m_MutatePNoise

probability of mutation of node positions

Definition at line 180 of file Searcher.h.

float SearcherParams::m_MutatePPos

probability of mutation of position

Definition at line 179 of file Searcher.h.

float SearcherParams::m_MutatePProp

probability of mutation of proportion

Definition at line 182 of file Searcher.h.

float SearcherParams::m_MutatePropRate

rate of adaption of proportion

Definition at line 183 of file Searcher.h.

float SearcherParams::m_MutateRate

initial mutation rate

Definition at line 173 of file Searcher.h.

Referenced by Searcher::Searcher().

dword SearcherParams::m_MutateSpawns

number of spawns when mutating a shape

Definition at line 177 of file Searcher.h.

Referenced by Searcher::evolve().

float SearcherParams::m_MutateTHRed

threshold reduction factor for mutated spawns

Definition at line 175 of file Searcher.h.

Referenced by Searcher::evolve().

dword SearcherParams::m_NClusters

number of clusters (winners) determined at each cycle

Definition at line 164 of file Searcher.h.

Referenced by Searcher::buildClusters().

dword SearcherParams::m_NSpawns

number of new spawned shapes at each cycle

Definition at line 161 of file Searcher.h.

Referenced by Searcher::evolve().

float SearcherParams::m_NSpawnsTHRed

threshold reduction factor for new spawns

Definition at line 162 of file Searcher.h.

Referenced by Searcher::evolve().

int SearcherParams::m_ParaSolver

method for solving ODE, 0-gauss, 1-midpnt

Definition at line 189 of file Searcher.h.

Referenced by Model::updateParticles().

float SearcherParams::m_PCTH

threshold for principle components

Definition at line 188 of file Searcher.h.

Referenced by SubStructure::analyseTF().

int SearcherParams::m_PDist

type of probability distr. to represent structural relationships

Definition at line 190 of file Searcher.h.

float SearcherParams::m_RatingTH

least allowed rating for a winner

Definition at line 187 of file Searcher.h.

float SearcherParams::m_RelBinDist

distance of bins relative to representative radius

Definition at line 170 of file Searcher.h.

Referenced by Searcher::buildBins().

float SearcherParams::m_ScaleStd

scale stdev of link

Definition at line 176 of file Searcher.h.

Referenced by SubStructure::generateEMDist().

float SearcherParams::m_ShapeWeight

influence of shape deformation on QOF

Definition at line 185 of file Searcher.h.

Referenced by Searcher::Searcher().


The documentation for this class was generated from the following files: