Structural deformable models
Classes | Macros
Searcher.cpp File Reference
#include <GL/gl.h>
#include <fxkeys.h>
#include <functional>
#include <algorithm>
#include "ParseFile.h"
#include "Searcher.h"
#include "utils.h"
Include dependency graph for Searcher.cpp:

Go to the source code of this file.

Classes

struct  std::greater< Model * >
 
class  NMerge
 

Macros

#define SRCH_CYCLE_T   1.0f
 
#define SRCH_MAXPOP   250
 
#define SRCH_NCLUSTERS   60
 
#define SRCH_NEW_SPAWNS   100
 
#define SRCH_NEW_SPAWNS_THRED   0.90f
 
#define SRCH_CLUSTERTH   0.6f
 
#define SRCH_CLUSTERDPOS   0.3f
 
#define SRCH_CLUSTERDMELT   0.05f
 
#define SRCH_CLUSTERDSCALE   0.3f
 
#define SRCH_CLUSTERDDIR   0.5f
 
#define SRCH_RELBINDIST   0.75f
 
#define SRCH_MUTATE_SPAWNS   0
 
#define SRCH_MUTATE_THRED   0.99f
 
#define SRCH_MUTATE_RATE   0.3f
 
#define SRCH_MUTATE_HL   30
 
#define SRCH_MUTATE_PDIR   0.5f
 
#define SRCH_MUTATE_PPOS   0.4f
 
#define SRCH_MUTATE_PNOISE   0.2f
 
#define SRCH_MUTATE_NOISERATE   0.1f
 
#define SRCH_MUTATE_PPROP   0.3f
 
#define SRCH_MUTATE_PROPRATE   0.5f
 
#define SRCH_RATINGTH   0.001f
 
#define SRCH_SHAPEWEIGHT   0.1f
 
#define SRCH_SCALESTD   1.f
 
#define PARA_PCTH   0.05f
 
#define PARA_PDIST   0
 
#define PARA_SOLVER   0
 
#define PARA_MAXSHOOT   100
 
#define _PROP_MUTATION_
 
#define MAXRAD   0
 

Macro Definition Documentation

#define _PROP_MUTATION_
#define MAXRAD   0

Referenced by Searcher::buildBins().

#define PARA_MAXSHOOT   100

Definition at line 42 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define PARA_PCTH   0.05f

Definition at line 39 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define PARA_PDIST   0

Definition at line 40 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define PARA_SOLVER   0

Definition at line 41 of file Searcher.cpp.

Referenced by SearcherParams::write().

#define SRCH_CLUSTERDDIR   0.5f

Definition at line 21 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_CLUSTERDMELT   0.05f

Definition at line 19 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_CLUSTERDPOS   0.3f

Definition at line 18 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_CLUSTERDSCALE   0.3f

Definition at line 20 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_CLUSTERTH   0.6f

Definition at line 17 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_CYCLE_T   1.0f

Definition at line 11 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_MAXPOP   250

Definition at line 12 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_MUTATE_HL   30

Definition at line 27 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_MUTATE_NOISERATE   0.1f

Definition at line 31 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_MUTATE_PDIR   0.5f

Definition at line 28 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_MUTATE_PNOISE   0.2f

Definition at line 30 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_MUTATE_PPOS   0.4f

Definition at line 29 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_MUTATE_PPROP   0.3f

Definition at line 32 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_MUTATE_PROPRATE   0.5f

Definition at line 33 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_MUTATE_RATE   0.3f

Definition at line 26 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_MUTATE_SPAWNS   0

Definition at line 24 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_MUTATE_THRED   0.99f

Definition at line 25 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_NCLUSTERS   60

Definition at line 14 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_NEW_SPAWNS   100

Definition at line 15 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_NEW_SPAWNS_THRED   0.90f

Definition at line 16 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_RATINGTH   0.001f

Definition at line 35 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_RELBINDIST   0.75f

Definition at line 22 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_SCALESTD   1.f

Definition at line 37 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().

#define SRCH_SHAPEWEIGHT   0.1f

Definition at line 36 of file Searcher.cpp.

Referenced by SearcherParams::SearcherParams(), and SearcherParams::write().