32 bool load(
const char *bfile);
35 bool loadDB(
const char* filename);
47 bool doCommand(
const std::string& command,
const std::string& value,
54 void run(
int whatsup,
void* data);
73 void getQualityRange(
float &lqof,
float &hqof,
float shapeweight=-1)
const;
75 int n=-1,
float qth=0,
bool count=
false);
120 for(std::vector<Model*>::iterator mi =
m_CStates->begin();
std::shared_ptr< Dataset > dataset_ptr
bool loadData(const char *filename, dword ppmm=0)
bool changeModel(const std::string &mname)
std::string m_CurPrototype
bool load(const char *bfile)
bool triggerTest(int mx, int my, int what=0)
bool loadModel(const char *filename)
bool loadSpecies(const Species &spec)
void drawAllModels() const
VVector< float, 4 > PropVec
dword duplicateState(const Model *model=NULL)
bool switchState(dword newstate)
bool doCommand(const std::string &command, const std::string &value, int mx=0, int my=0)
SensorCollection & getSensors()
RunWhat
some options for run(whatsup)
void setupSearch(enum SearchWhat what=SW_RESET, const PropVec &prop=PropVec())
bool loadDBSelector(const char *filename)
std::map< std::string, Model * > m_Prototypes
const SensorCollection & getSensors() const
void toggleUpdateForAll(bool onoff=true)
const Dataset & getData() const
std::list< Model > m_Winners
bool m_ThreadActive[DO_LAST]
void killState(dword state)
dword getAllModels(Iter iter)
int distributeModel(const Model &model, int n=-1, float qth=0, bool count=false)
int getBindex(int bx, int by, bool &culled=*((bool *) NULL))
void getQualityRange(float &lqof, float &hqof, float shapeweight=-1) const
Dataset & getSensorData()
SensorCollection m_Sensors
std::vector< Model * > * m_CStates
vuMutex m_RunMutex[DO_LAST]
std::map< std::string, std::vector< Model * > > m_Instances
void run(int whatsup, void *data)
virtual from vuThread
bool loadDB(const char *filename)