Structural deformable models
|
#include <Searcher.h>
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) |
Definition at line 149 of file Searcher.h.
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.
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().
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().
|
friend |
Definition at line 154 of file Searcher.h.
|
friend |
Definition at line 157 of file Searcher.h.
|
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().