Package ec.eda.dovs
Class HyperboxSpecies
java.lang.Object
ec.Species
ec.vector.VectorSpecies
ec.vector.IntegerVectorSpecies
ec.eda.dovs.DOVSSpecies
ec.eda.dovs.HyperboxSpecies
- All Implemented Interfaces:
Prototype,Setup,Serializable,Cloneable
HyperboxSpecies is a DOVSSpecies which contains method for updating promising
sample area and also sample from that area.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionArrayList<double[]>boxA and boxB contain the current constraint hyperbox.boxA and boxB contain the current constraint hyperbox.static doublestatic doublestatic doubleFields inherited from class ec.eda.dovs.DOVSSpecies
A, activeSolutions, b, corners, Ek, initialReps, numOfTotalSamples, optimalIndex, P_A, P_B, P_CONSTRAINTS_SIZE, P_DOVS_SPECIES, P_INITIAL_REPETITION, P_STOCHASTIC, P_WARM_UP, repetition, stochastic, visited, visitedIndexMap, warmUpFields inherited from class ec.vector.IntegerVectorSpecies
C_RANDOM_WALK_MUTATION, C_RESET_MUTATION, maxGene, minGene, mutationIsBounded, mutationType, P_MAXGENE, P_MINGENE, P_MUTATION_BOUNDED, P_MUTATIONTYPE, P_NUM_SEGMENTS, P_RANDOM_WALK_PROBABILITY, P_SEGMENT, P_SEGMENT_END, P_SEGMENT_START, P_SEGMENT_TYPE, randomWalkProbability, V_RANDOM_WALK_MUTATION, V_RESET_MUTATIONFields inherited from class ec.vector.VectorSpecies
C_ANY_POINT, C_GEOMETRIC, C_INTERMED_RECOMB, C_LINE_RECOMB, C_NONE, C_ONE_POINT, C_ONE_POINT_NO_NOP, C_SIMULATED_BINARY, C_TWO_POINT, C_TWO_POINT_NO_NOP, C_UNIFORM, chunksize, crossoverDistributionIndex, crossoverProbability, crossoverType, duplicateRetries, dynamicInitialSize, genomeIncreaseProbability, genomeResizeAlgorithm, genomeSize, lineDistance, maxInitialSize, minInitialSize, mutationProbability, P_CHUNKSIZE, P_CROSSOVER_DISTRIBUTION_INDEX, P_CROSSOVERPROB, P_CROSSOVERTYPE, P_DUPLICATE_RETRIES, P_GENOMESIZE, P_GEOMETRIC_PROBABILITY, P_LINEDISTANCE, P_MUTATIONPROB, P_UNIFORM_MAX, P_UNIFORM_MIN, P_VECTORSPECIES, V_ANY_POINT, V_GEOMETRIC, V_INTERMED_RECOMB, V_LINE_RECOMB, V_ONE_POINT, V_ONE_POINT_NO_NOP, V_SIMULATED_BINARY, V_TWO_POINT, V_TWO_POINT_NO_NOP, V_UNIFORMFields inherited from class ec.Species
f_prototype, i_prototype, P_FITNESS, P_INDIVIDUAL, P_PIPE, pipe_prototype -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmostPromisingAreaSamples(EvolutionState state, int popSize) Sample from the hyperbox to get new samples for evaluation.voidsetup(EvolutionState state, Parameter base) The default version of setup(...) loads requested pipelines and calls setup(...) on them and normalizes their probabilities.voidConstructing a hyperbox, which defines the next search area.Methods inherited from class ec.eda.dovs.DOVSSpecies
defaultBase, findBestSample, uniqueSamplesMethods inherited from class ec.vector.IntegerVectorSpecies
inNumericalTypeRange, inNumericalTypeRange, loadParametersForGene, maxGene, minGene, mutationIsBounded, mutationType, randomWalkProbabilityMethods inherited from class ec.vector.VectorSpecies
contains, contains, contains, contains, duplicateRetries, fill, fill, fill, fill, initializeGenomeSegmentsByEndIndices, initializeGenomeSegmentsByStartIndices, mutationProbability, newIndividual, setupGenomeMethods inherited from class ec.Species
buildMisc, clone, newIndividual, newIndividual, updateIndividual, updateSubpopulation
-
Field Details
-
boxA
boxA and boxB contain the current constraint hyperbox. -
boxB
boxA and boxB contain the current constraint hyperbox. -
UPPER_BOUND
public static double UPPER_BOUND -
EPSILON_STABILITY
public static double EPSILON_STABILITY -
LARGE_NUMBER
public static double LARGE_NUMBER
-
-
Constructor Details
-
HyperboxSpecies
public HyperboxSpecies()
-
-
Method Details
-
setup
Description copied from class:SpeciesThe default version of setup(...) loads requested pipelines and calls setup(...) on them and normalizes their probabilities. If your individual prototype might need to know special things about the species (like parameters stored in it), then when you override this setup method, you'll need to set those parameters BEFORE you call super.setup(...), because the setup(...) code in Species sets up the prototype. -
updateMostPromisingArea
Constructing a hyperbox, which defines the next search area.- Overrides:
updateMostPromisingAreain classDOVSSpecies
-
mostPromisingAreaSamples
Sample from the hyperbox to get new samples for evaluation.- Overrides:
mostPromisingAreaSamplesin classDOVSSpecies
-