11.2. RND2 Configuration File

 

####################################################################
## MAIN PARAMETERS : ##
####################################################################

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

PORT_1 =6101
PORT_2 =6102
PORT_3 =6103
PORT_4 =6104

####################################################################
##PROBLEM PARAMETERS : ##
####################################################################

PROBLEM_TYPE =3        #  3=Radio Network Design, original problem (RND2)

FITNESS_FUNCTION =1                 # If RND2 1:Original function.
SOLUTION_FITNESS =204.08       # 204.08 if RND2

NUM_GENES =149              # 149 transmissors if RND2
GENE_LENGTH =1              # 1 if RND2. Bits to represent a transmissor= 1 (Activation bit)
CHROM_LENGTH =149        # Length of chromosome:NUM_GENES*GENE_LENGTH

############## RND & RND2 Parameters ##############

SIDE_LENGTH =287             # If RND2= 287
CELLS_OF_TRANS =41         # If RND2= 41


####################################################################
## ALGORITHM PARAMETERS: ##
####################################################################

ALG_TYPE =1              # Algorithm type: 1:Steady State GA

NUM_MAX_EVAL =500000            # Maximum number of evaluations

ALG_STOP =3        # Stopping condition: 3:Get SOLUTION_FITNESS or Get NUM_MAX_EVAL

MIGRATION_FREQ =2048          # Frequency of migrations (# of evaluations)
MIGRATION_TYPE =3                # Type of migration 3:random indiv

PROB_CROSS =1.0             # Probability of applying crossover
PROB_MUT =0.01              # Probability of applying mutation.

CROSS_TYPE =4                # Cross operator to use:4:DPX
MUTATION_TYPE =1          # 1:Binary mutation

POP_V_SIZE =32
POP_H_SIZE =16
POPSIZE =512              # Size of population on each island:POP_V_SIZE*POP_H_SIZE

REPLACEMENT_TYPE =1            # 1:worst indiv
SELECTION_TYPE =1                   # 1:Roulette wheel

####################################################################
## MISCELLANEOUS : ##
####################################################################

NUM_MIG =1# Number of migrate individuals

 

[Previous][Index][Home][Next]