public class Specifications
extends java.lang.Object
This class contains specifications for the GeneticAlgorithm
.
Constructor and Description |
---|
Specifications() |
Modifier and Type | Method and Description |
---|---|
static int |
getFirstOrderSize(int populationSize) |
static int |
getFourthOrderSize(int populationSize) |
static int |
getPopulationSize(java.lang.String originalFile)
This method returns the population size to be
used based on the number of LOC of the original file.
|
static int |
getSecondOrderSize(int populationSize) |
static int |
getThirdOrderSize(int populationSize) |
public static int getPopulationSize(java.lang.String originalFile)
This method returns the population size to be used based on the number of LOC of the original file.
originalFile
- under executionpublic static int getFirstOrderSize(int populationSize)
populationSize
- of the populationpublic static int getSecondOrderSize(int populationSize)
populationSize
- of the populationpublic static int getThirdOrderSize(int populationSize)
populationSize
- of the populationpublic static int getFourthOrderSize(int populationSize)
populationSize
- of the population