|
Function Description
|
TSGO Demo
|
TSGO v1.5 Full version
|
TSG2 Demo
|
TSG2 Full version
|
Function: Method New!
Optimization method. (For version TSG2 v 2.x and higher)
Has 1 parameter. Values = 0, 1, 2.
Parameters:
0 – The method, used in version TSGO v1.5 and older – searching maximum by one parameter. Using this method you have to input the criterion of optimization (fitness) with the function TS.G2.Fitness.
1 – A method to search for the best of the best exemplars by many criterions simultaneously. In this method systems with best (highest or lowest) criterion values are considered to be good. See description of the function TS.G2.Criterion for further details. Basically, this is a usual search for the best exemplar by many criterions.This method gives results, which are close to the Paretto method.
2 – Method Minimax. A method to seek for the best exemplar of the worst by one parameter. In this method the exemplar that is the best by its worst parameter is considered to be the best. A search for the maximum in the weakest parameter of the copy.
In methods 1 and 2, optimization criterions are announced with the function TS.G2.Criterion, values are entered with the function TS.G2.Set.
|
No
|
No
|
Yes |
Yes |
Function: Chrom New!
Sets up new chromosome or search of existing chromosome.
Parameters:
Name – name of chromosome.
Returned values:
>0 – number of found or created chromosomes.
-1 – wrong name of chromosome (for example it is blank).
-2 – array of chromosomes is overloaded (in new version max. number of chromosomes is equal to 1000).
|
No
|
No
|
Yes |
Yes |
Function: Default New!
Sets default value of exemplar’s variable.
A call to the function TS.G2.Default allows you to change this.
Default values are used when creating a new exemplar.
At this point all exemplar’s variables are assigned their default
values and new ones are generated for their genes.
|
No
|
No
|
Yes |
Yes |
BadIndividual New!
Marks the exemplar currently being tested as bad.
This exemplar will not be added to the population and will not influence any heirs.
|
No
|
No
|
Yes |
Yes |
Function: Mode Sets up
the
optimization mode
|
Mode only 0
|
All Mode
|
Mode only 0 |
All Mode |
Function: Popul Sets up the size of population.
|
10 - 50
|
10 - 1000
|
10 - 50 |
10 - 1000 |
Function: Gen Sets up new gene or search of existing gene.
|
Yes
|
Yes
|
Yes |
Yes |
Function: Next Generates
new candidate of population or determines
the best candidate of
population.
|
Yes
|
Yes
|
Yes |
Yes |
Function: Finish Returns
the characteristics of the last run of
strategy.
|
Yes
|
Yes
|
Yes |
Yes |
Function: Error Returns
error code of performed function.
|
Yes
|
Yes
|
Yes |
Yes |
Function: Var Creates
users
variable.
|
Yes
|
Yes
|
Yes |
Yes |
Function: Get Gets value
of
gene or variable of user by “Name” from
sample number “Individ”.
|
Yes
|
Yes
|
Yes |
Yes |
Function: Set Sets new
value of users variable for current
sample of population.
|
Yes
|
Yes
|
Yes |
Yes |
Function: Fitness Informs
about results of executed run on
system.
|
Yes
|
Yes
|
Yes |
Yes |
Function: FreshBlood Sets
up value of factor "fresh
blood" in population.
|
Mode only 0
|
All Mode
|
Mode only 0 |
All Mode |
Function: Stat This
function calculates different statistics
of system in EasyLanguage.
|
Yes
|
Yes
|
Yes |
Yes |
Function: ShowViewer
Show Viewer immediately.
|
Yes
|
Yes
|
Yes |
Yes |
|
Iteration Count
|
100
|
Not Limited
|
100 |
Not Limited |