List of ancestors:
| Desc. & Idea | Warnings | Methods | Attributes | Operators | Specials |
|
||
| Methods beginning with Get or Set (get/set) are usually intended to access Attributes of same name (exceptions will be marked). | ||
The class is a wrapper for any "Tablesetting utility". Defines methods to
create, manage and delete representants of TPopulation and
operators of a Genetic algorithm. Also enables to load and save these from and to TParamFile, so they can be later retived and used be a real
Genetic Algorithm, probably TGACover or its descendant.
gatabs.h, gatools.h,
gaunom.h, gafunc.h,
gaslct.h
![]()
This class is more an abstract predecessor, even i contains no absract methods. It impelements all the managing abilities, but needs some visualization.
Public:
| TParamFile* BuildParamFile(char *WithFilename=NULL) | |
| void Clear() | |
| BOOL DelItem(BYTE idx) | |
| BOOL DelPop(uint idx) | |
| BOOL getDefault() | |
| char *getFilename() | |
| BOOL getNoEvent() | |
| TSetPop *getPop(BYTE index) | |
| BYTE getPopCount() | |
| char *getTablename() | |
| TSetItem *getTool(BYTE index) | |
| BYTE getToolCount() | |
| BOOL InsItem(char *KindName,TToolKind aKind,uint pos, char *AName = "") | |
| BOOL InsPop(uint pos) | |
| BOOL IsOK() | |
| BOOL Load(char *aFilename) | |
| TAncTabSet *MakeBrother(char *AName) | |
| BOOL MoveItem(BYTE from, BYTE to) | |
| BOOL NameExist(char *AName,TNameList *Except=NULL) | |
| BOOL NewItem(char *KindName,TToolKind aKind, char *AName = "") | |
| BOOL NewPop() | |
| void OnChange() | |
| void PutPars(TParamFile &Target,TParamFile &NeededParams) | |
| BOOL Save(char *aFilename=NULL) | |
| void setFilename(char *val) | |
| void setTablename(char *val) | |
| TAncTabSet(char *aFilename, TNameList *FirstName=NULL) | |
| TAncTabSet(TParamFile *SourceParams=NULL,char *aTablename=DEFAULTTABLE, TNameList *FirstName=NULL) | |
| ~TAncTabSet() |
Protected:
| void ProduceFrom(TParamFile *src) |
Private:
| TParamFile* DigSrcParFile(TParamFile *From) | |
| char *Flush1(char *Source,char *TypeBuf,char *NameBuf,uint &Num1) | |
| char *Flush2(char *Source,char *TypeBuf,char *NameBuf,uint &Num1,uint &Num2) | |
| char *Flush3(char *Source,char *TypeBuf,char *NameBuf,uint &Num1,uint &Num2,BOOL &Move,uint &Count) |
Here write method's description.
![]()
Public:
Protected:
Private:
| BOOL Default | |
| TFlag DefFlag | |
| BOOL NoEvent | |
| BYTE PopCount | |
| uint PopIndex | |
| BYTE ToolCount |
Here write attribute's description.
![]()
Public:
Protected:
Private:
![]()