TspTwDominanceKey
org.ddolibscala.example.tsptw.TspTwDominanceKey
Key used for dominance checking in the Traveling Salesperson Problem with Time Windows (TSPTW).
A TspTwDominanceKey uniquely identifies a group of states that share the same current position and the same set of locations that still must be visited . It is used by TspTwDominanceto determine which states can be compared for dominance.
Two states with the same dominance key are comparable: the state with the lower current time dominates the other, allowing pruning in the search.
Value parameters
- mustVisit
-
the set of locations that must still be visited
- position
-
the current position in the tour
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article