List of ancestors:
Desc. & Idea | Warnings | Methods | Attributes | Operators | Specials |
Abstract |
Virtual | Overridden |
Key, Important | Constructor | Destructor |
Methods beginning with Get or Set (get/set) are usually intended to access Attributes of same name (exceptions will be marked). |
The basic class allowing the genetic computation. All features for this work are implemented.
Init procedure must be used before a run.
If NULL is sended as a Population paramter to Init, a parametric
file sais to not create the initial population and it is not creteated later, the
computation cannot be run.
Public:
BOOL Clear(void) | |
BOOL Continue(void) | |
void DontPause(void) | |
void DontStop(void) | |
void Froze() | |
BOOL GAInterrupt() | |
BOOL getAutoScaling() | |
uint getFirstRescaling() | |
TFitness &getFitFunc() | |
TGenCode &getGenMeening() | |
uint getGeneration() | |
uint getGenLength() | |
uint getChngsMade() | |
TPopulation *getOldPop() | |
uint getOpsMade() | |
TParamFile &getParams() | |
uint getPopSize() | |
TPopulation *getPopulation() | |
uint getRescalePeriod() | |
TGAState getState() | |
TPriority getWrkPrt() | |
TGAState getWorkState() | |
void incChngsMade(int By) {ChngsMade+=By} | |
void incOpsMade(int By) {OpsMade+=By} | |
void Init(TParamFile
&AParams,TPopulation* Pop,TGoodEnough
*AGoodEnough,TGenCode* AGenMeening=NULL,TFitness *AFitFunc=NULL) void Init(TParamFile &AParams, TPopulation* Pop, TGenCode* AGenMeening=NULL, TFitness *AFitFunc=NULL, TNet* pnet=NULL) |
|
void Pause() | |
void RereadParams(TParamFile &Source) | |
void Reset() | |
BOOL RetrFinished() | |
TPopulation &RetrPop(int Count=Population->GetSize()) | |
TGAStats &RetrStats() | |
BOOL Run(void) | |
void setAutoScaling(BOOL val) | |
void setFirstRescaling(uint val) | |
void setFitFunc(TFitness &val) | |
void setGenMeening(TGenCode &val) | |
void setRescalePeriod(uint val) | |
BOOL WiilStop() | |
void setWrkPrt(TPriority val) | |
void Stop(void) | |
TGACover() | |
void Unfroze() | |
~TGACover () |
Protected:
BOOL CanContinue() | |
BOOL CanRun() | |
TKernelInfo *CreateKI(uint id,int period) | |
void DoReset() | |
BOOL EndComputation() | |
BOOL GABody() | |
BOOL PrepareRun() | |
BOOL UnPrepareRun() | |
void WorkPlace() |
Private:
Here write method's description.
Public:
Protected:
TGATab *Algorithm | |
TPopulation *OldPop | |
TParamFile *Params | |
TPopulation *Population | |
TGAState WorkState |
Private:
BOOL AutoRescaling | |
uint FirstRescaling | |
TFitness *FitFunc | |
BOOL FitFuncResp | |
uint Generation | |
TGenCode *GenMeening | |
BOOL GenMeeningResp | |
uint GenLength | |
uint ChngsMade | |
BOOL MyOldPop | |
uint OpsMade | |
uint PauseFlag | |
BOOL PopulationResp | |
uint PopSize | |
uint RescalePeriod | |
uint StopFlag | |
TPriority WrkPrt |
Here write attribute's description.
Public:
Protected:
Private: