Class TSDistance
java.lang.Object
org.ddolib.examples.layered.talentscheduling.TSDistance
- All Implemented Interfaces:
StateDistance<TSState>
State distance for Talent Scheduling based on the symmetric difference of remaining scenes.
-
Constructor Summary
ConstructorsConstructorDescriptionTSDistance(TSProblem problem) Creates a distance helper bound to a given Talent Scheduling instance. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ddolib.layered.solving.ddo.core.heuristics.cluster.StateDistance
distance, distanceWithRoot
-
Constructor Details
-
TSDistance
Creates a distance helper bound to a given Talent Scheduling instance.- Parameters:
problem- target problem instance
-
-
Method Details
-
distance
Description copied from interface:StateDistanceComputes the discrete distance between two states.- Specified by:
distancein interfaceStateDistance<TSState>- Parameters:
a- the first stateb- the second state- Returns:
- the distance between
aandb
-