####################################################################
## MAIN PARAMETERS : ##
####################################################################
BASE_PORTS =6200 #
Where to start the ports of islands
SYNC_PORT =1500 #
Port to synchronize the island
NUM_ISLANDS =4 #
Total number of islands
HOST_1 =127.0.0.1
HOST_2 =127.0.0.1
HOST_3 =127.0.0.1
HOST_4 =127.0.0.1
####################################################################
## PROBLEM PARAMETERS##
####################################################################
PROBLEM_TYPE =2 #
2=Radio Network Design
FITNESS_FUNCTION =1 # 1:Original function,
2:use average, 3:use avg+stdv, 4:penalized
SOLUTION_FITNESS =118.99 #
118.99 if RND
NUM_GENES =100 #
100 transmissors if RND
GENE_LENGTH =13 #
13 if RND. Bits to represent a transmissor= 1+6+6
CHROM_LENGTH =1300 #
Length of chromosome:NUM_GENES*GENE_LENGTH
SIDE_LENGTH =64 #
Lado del cuadrado que mide el terreno
CELLS_OF_TRANS =7 #
Lado del cuadrado que cubre un transmisor
BITS_PER_COORD =6 #
Needed bits to code a coord of the terrain
####################################################################
## ALGORITHM PARAMETERS##
####################################################################
ALG_TYPE =1 #
1:Steady State GA, 2:Celular GA, 3:Simulated Annealing
NUM_MAX_EVAL =90000 #
Maximum number of evaluations
MIGRATION_FREQ =2300 #
Frequency of migrations
MIGRATION_TYPE =1 #
1:best indiv, 2:worst indiv, 3:random indiv
PROB_CROSS =0.5 #
Probability of applying crossover
PROB_MUT =0.05 #
Probability of applying mutation:
CROSS_TYPE =3 #
0:NONE, 1:SPX, 2:AX, 3:UX, 4:DPX, 5:SPX2
MUTATION_TYPE =1 #
1:Binary mutation
POP_V_SIZE =5 # Number
of cols and rows of population
POP_H_SIZE =5
POPSIZE =25 #
Size of population on each island:POP_V_SIZE*POP_H_SIZE
REPLACEMENT_TYPE =1 # 1:worst
indiv
SELECTION_TYPE =4 #
4:Best Individual
####################################################################
## MISCELLANEOUS ##
####################################################################
NUM_MIG =1 #
Number of migrate individuals
|