11. CHANGES ON CONFIGURATION FILE |
The configuration file has undergone a few changes due to the new problems added. In this section we mark the differents modifications. Changes Produced in Main Parameters: BASE_PORTS is a JGDS v3.5 parameter which is used to calculate the port number of every host. For example: if BASE_PORTS=6100 and we have 4 islands, the port of island 1 is 6101, the port of island 2 is 6102, and so on. This method has a problem because many hosts can only read from a specific port number. So, in JGDS v4.0 we leave this parameter out and the port number of each host is introduced.
PORT_1=6103
Changes produced in Problem Parameters: PROBLEM_TYPE: Here, the new problem values are added.
FITNESS_FUNCTION: We added the function types of the problem implemented.
|
Problem
|
Fitness usual value
|
SAT
|
1.0
|
RND
|
118.99
|
RND2
|
204.08
|
TA
|
1000.0
|
ECC
|
0.0674157
|
NUM_GENES and GENE_LENGTH:
Problem
|
Num_Genes
|
Gene_Length
|
SAT
|
250 (number of variables)
|
1
|
RND
|
100 (number of transmitter)
|
13
|
RND2
|
149 (number of transmitter)
|
1
|
TA
|
100 (number of terminals)
|
5 ó 6
|
ECC
|
24 (number of words)
|
12
|
TA Parameters:
NUM_TERM = Number of terminals.
NUM_CONC = Number of concentrators. Value lower or equal than 32.
CONC_CAP = Concentrator capacity.
ECC Parameters:
WORD_CARDINAL = Number of words (M). Lower or equal than 31.
WORD_LENGTH = Word length (n).
Changes produced in algorithm parameters:
One useful parameter added in JGDS v4.0 is ALG_STOP. This parameter defines the problem stopping condition.
Value
|
Description
|
1
|
The algorithm only stops when it
gets the SOLUTION_FITNESS value.
|
2
|
The algorithm only stops when it
gets the NUM_MAX_EVAL value.
|
3
|
The algorithm stops when it gets
the SOLUTION_FITNESS or the NUM_MAX_EVAL value.
|