####################################################################
## MAIN PARAMETERS : ##
####################################################################
BASE_PORTS =6100 #
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 #
1=SAT, 2=Radio Network Design v.2
FITNESS_FUNCTION =1 #
If RND 1:Original function
SOLUTION_FITNESS =204.08 #
204.08 if RND2
NUM_GENES =149 #
Transmissors if RND2
GENE_LENGTH =1 #
1 if RND2. Bits to represent a transmissor = 1
CHROM_LENGTH =149 #
Length of chromosome:NUM_GENES*GENE_LENGTH
SIDE_LENGTH =287 #
Lado del cuadrado que mide el terreno
CELLS_OF_TRANS =41 #
Lado del cuadrado que cubre un transmisor
####################################################################
## ALGORITHM PARAMETERS: ##
####################################################################
ALG_TYPE =1 #
1:Steady State GA, 2:Celular GA, 3:Simulated Annealing
NUM_MAX_EVAL =250 # Maximum
number of evaluations
MIGRATION_FREQ =2300 #
Frequency of migrations (# of evaluations)
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 =16 #
Number of cols and rows of population
POP_H_SIZE =10
POPSIZE =160 #
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
UX_RATIO =0.5 #
Ratio for UX cross operator: [0,1)
|