11.4. ECC 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 =5     # 5=Error Correcting Code (ECC)

FITNESS_FUNCTION =1       # If ECC 1:Original function, 2:Optimized function
SOLUTION_FITNESS =0.0674157     # 0.0674157 if ECC

NUM_GENES =24             # Number of Words if ECC. We use 24.
GENE_LENGTH =12         # Word Length in ECC problem.We use 12.
CHROM_LENGTH =288    # Length of chromosome:NUM_GENES*GENE_LENGTH

############# ECC Parameters ##############

WORD_CARDINAL =24      # Number of Words (M) Lower or equal than 31
WORD_LENGTH =12          # Word Length (n) Lower or equal than 31

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

ALG_TYPE =3 # Algorithm type: 3:Simulated Annealing

NUM_MAX_EVAL =1000000# Maximum number of evaluations

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

MIGRATION_FREQ =256      # 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.00347      # Probability of applying mutation

CROSS_TYPE =3              # 3:UX
MUTATION_TYPE =1        # 1:Binary mutation

POP_V_SIZE =1
POP_H_SIZE =1
POPSIZE =1         # 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 individual
UX_RATIO =0.6     # Ratio for UX cross operator: [0,1)

MAX_T =0.3          # Maximum start temperature for simulated annealing
MIN_T =0.001       # Minimum alowable temperature for simulated annealing

 

 

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