EngineConf Class Reference

EngineConf holds configuration parameters for the solution engine. More...

#include <Configuration.h>

List of all members.

Public Member Functions

 EngineConf ()
 real defaults are in fromDefaults()
void toRegistry (QSettings &reg)
void fromRegistry (QSettings &reg)
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


Detailed Description

EngineConf holds configuration parameters for the solution engine.

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.

See also:
Configuration Cube OptionsDlg


Constructor & Destructor Documentation

EngineConf::EngineConf (  )  [inline]

real defaults are in fromDefaults()


Member Function Documentation

void EngineConf::toRegistry ( QSettings &  reg  ) 

void EngineConf::fromRegistry ( QSettings &  reg  ) 

void EngineConf::fromDefaults (  ) 


Member Data Documentation

randomize pieces when searching for a solution

should we consider making restarts along the way

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

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


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