Configuring the File "island.params"
Each GA model needs some parameters to work properly. In this implementation is possible to specify these parameters for each island in the program implementation, in an auxiliar file ('island.params'), or some in the first way and the others in the second way. The structure of the file 'island.params' is:
<IslandConfigFile> | ::= | <NOpsSection> [<Comment>] |
<OpsSection> [<Comment>] | ||
{<OptionalSections> [<Comment>]} | ||
<OptionalSections> | ::= | Epsilon | |
<ScalingSection> | <OutputSection> | <NeighbSection> | ||
<NRangeSection> | <SeedSection> | <ProblemSection> | ||
<NOpsSection> | ::= | [number_of_operators] |
<NOperators> | ||
<NOperators> | ::= | <Cardinal*> |
<OpsSection> | ::= | [operators] |
<Operator> { <Operatos> } (from 1 to <NOperators>) | ||
<Operator> | ::= | rw | sus | random | best | ranking <Bias> | |
spx <Prob> | dpx <Prob> | | ||
ux <Prob> <Bias> | ax <Prob><Bias> | | ||
mutation <Prob> | | ||
<BP> | <SA> | <GeneralOp> | | ||
rep_rand | rep_least_fit | rep_worst_rand_pool <Cardinal*> | ||
<Bias> | ::= | <Float01> |
<Prob> | ::= | <Float01> |
<Float01> | ::= | 1.0 | 0.{<Cardinal>} |
<BP> | ::= | bp <Prob> <Cardinal> <Float01> <Float01> [best | actual] |
// probability epochs learning_rate momentum wich
<SA> | ::= | sa <Prob> <Float01> <Float01> <Function> [best | actual] |
<Cardinal> <Cardinal> |
// probability Ti Tf Function which steps #changes
<Function> | ::= | <Identifier> // must exists at compiletime |
<GeneralOp> | ::= | operator <Prob> <Function> |
<SeedSection> | ::= | [seed] <Cardinal> // problem random seed |
<ScalingSection> | ::= | <LinearScaling> | <Sigma_Scaling> |
<LinearScaling> | ::= | [linear_scaling] <Float01> // delta factor |
<Sigma_Scaling> | ::= | [sigma_scaling] <Float01> // sigma factor |
<OutputSection> | ::= | [output_display] |
[nothing | all | on_change | steps <Cardinal*>] // default "nothing" | ||
<NeighdSection> | ::= | <NeighShape> <NeighTopology> |
<NeighShape> | ::= | [neighb_shape] <Cardinal> <Cardinal> <Cardinal> // x y z |
<NeighbTopology> | ::= | [neighb_topology] |
[grid | unid_ring | bid_ring | any] // default "any" | ||
<NRangeSection> | ::= | [numeric_ranges] |
<Float> <Float> | ||
<Float> | ::= | [+|-] <Cardinal>.<Cardinal> |
<ProblemSection> | ::= | [problem_config_file] |
<Identifier> // default empty |