gov.nasa.javaGenes.EOSscheduling
Class SqueakyWheelShiftForward
java.lang.Object
gov.nasa.javaGenes.core.ChildMaker
gov.nasa.javaGenes.permutation.PermutationChildMaker
gov.nasa.javaGenes.permutation.PermutationOrderMutation
gov.nasa.javaGenes.EOSscheduling.SqueakyWheelTournamentSwapMutation
gov.nasa.javaGenes.EOSscheduling.SqueakyWheelPlacedTSM
gov.nasa.javaGenes.EOSscheduling.SqueakyWheelShiftForward
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class SqueakyWheelShiftForward
- extends SqueakyWheelPlacedTSM
- See Also:
- Serialized Form
Methods inherited from class gov.nasa.javaGenes.core.ChildMaker |
checkLastResults, checkResults, clearLast, getAndClearLastTabSeparatedResults, getFitnessFunctionNames, getLastTabSeparatedResults, headerFragment, makeChildren, mutate, neverUsed, proportionDown, results, setFitnessFunction, setFitnessFunctionNames, tabSeparatedResults |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
shiftFraction
protected double shiftFraction
SqueakyWheelShiftForward
public SqueakyWheelShiftForward(EOSModel inModel,
int inNumberOfSwaps,
int tournamentSize)
SqueakyWheelShiftForward
public SqueakyWheelShiftForward(EOSModel inModel,
int inNumberOfSwaps,
int tournamentSize,
double inMoveForwardFraction,
double inShiftFraction)
calculateOutputMeasures
protected void calculateOutputMeasures(EOSschedulingEvolvable kid)
- Overrides:
calculateOutputMeasures
in class SqueakyWheelPlacedTSM
getSecondIndex
protected int getSecondIndex(PermutationEvolvable kid,
int firstIndex)
- Overrides:
getSecondIndex
in class SqueakyWheelPlacedTSM
mutate
public void mutate(int shift,
int shiftBeforeMe,
PermutationEvolvable kid)
- shifts shift to in front of shiftBeforeMe
- Overrides:
mutate
in class PermutationOrderMutation
subClassMeasures
public java.lang.String subClassMeasures()
- Overrides:
subClassMeasures
in class SqueakyWheelPlacedTSM
toString
public java.lang.String toString()
- Overrides:
toString
in class SqueakyWheelPlacedTSM