gov.nasa.javaGenes.EOSscheduling
Class SqueakyWheelPlacedTSM
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
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- SqueakyWheelShiftForward
- public class SqueakyWheelPlacedTSM
- extends SqueakyWheelTournamentSwapMutation
Same as SqueakyWheelTournamentSwapMutation except that moveForwardIndex is
forced to be near the end of the permutation and moveBackIndex is forced to be
closer to the front of the permutation.
- 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 |
moveForwardFraction
protected double moveForwardFraction
moveBackFraction
protected double moveBackFraction
goodMoves
protected int goodMoves
badMoves
protected int badMoves
SqueakyWheelPlacedTSM
public SqueakyWheelPlacedTSM(EOSModel inModel,
int inNumberOfSwaps,
int tournamentSize)
SqueakyWheelPlacedTSM
public SqueakyWheelPlacedTSM(EOSModel inModel,
int inNumberOfSwaps,
int tournamentSize,
double inMoveForwardFraction,
double inMoveBackFraction)
calculateOutputMeasures
protected void calculateOutputMeasures(EOSschedulingEvolvable kid)
- Overrides:
calculateOutputMeasures
in class SqueakyWheelTournamentSwapMutation
setUpIndices
protected void setUpIndices(EOSschedulingEvolvable kid)
- Overrides:
setUpIndices
in class SqueakyWheelTournamentSwapMutation
getFirstIndex
protected int getFirstIndex(PermutationEvolvable kid)
- Overrides:
getFirstIndex
in class SqueakyWheelTournamentSwapMutation
getSecondIndex
protected int getSecondIndex(PermutationEvolvable kid,
int firstIndex)
- Overrides:
getSecondIndex
in class SqueakyWheelTournamentSwapMutation
subClassMeasures
public java.lang.String subClassMeasures()
- Overrides:
subClassMeasures
in class SqueakyWheelTournamentSwapMutation
toString
public java.lang.String toString()
- Overrides:
toString
in class SqueakyWheelTournamentSwapMutation