#include <Configuration.h>
Public Member Functions | |
EngineConf () | |
real defaults are in fromDefaults() | |
void | toRegistry (QSettings ®) |
void | fromRegistry (QSettings ®) |
void | fromDefaults () |
Public Attributes | |
bool | fRand |
randomize pieces when searching for a solution | |
bool | fRestart |
should we consider making restarts along the way | |
bool | fLuck |
use the luck paremeter to supress restarts | |
int | nRestart |
number of miliseconds between restarts | |
int | nLuck |
percent on the number of pics in the structure to consider 'lucky' | |
EPersistSlvSession | nPersist |
what to do after finding a solution | |
int | nUpto |
if nPresist is PERSIST_UPTO, how many solutions before restart | |
bool | fAfter |
should we stop after nAfter solution all in all. | |
int | nAfter |
after how many solution all in all should we stop | |
EAsymMethod | nAsym |
how asymmetric piece should be treated |
It is used mostly in Cube. An instance of this class is contained in the Configuration class and hold the current engine configuration. A copy of the most recent engine config is stored in an instance of Cube during the run of the solution engine.
EngineConf::EngineConf | ( | ) | [inline] |
real defaults are in fromDefaults()
void EngineConf::toRegistry | ( | QSettings & | reg | ) |
void EngineConf::fromRegistry | ( | QSettings & | reg | ) |
void EngineConf::fromDefaults | ( | ) |
bool EngineConf::fRand |
randomize pieces when searching for a solution
bool EngineConf::fRestart |
should we consider making restarts along the way
bool EngineConf::fLuck |
use the luck paremeter to supress restarts
number of miliseconds between restarts
percent on the number of pics in the structure to consider 'lucky'
what to do after finding a solution
if nPresist is PERSIST_UPTO, how many solutions before restart
bool EngineConf::fAfter |
should we stop after nAfter solution all in all.
after how many solution all in all should we stop
how asymmetric piece should be treated