public abstract class DominanceFunction extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DominanceFunction.EarliestArrival
This approach is more coherent in Analyst when we are extracting travel times from the optimal
paths.
|
static class |
DominanceFunction.LeastWalk
A dominance function that prefers the least walking.
|
static class |
DominanceFunction.MinimumWeight |
static class |
DominanceFunction.Pareto
In this implementation the relation is not symmetric.
|
Constructor and Description |
---|
DominanceFunction() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
betterOrEqual(State a,
State b)
Return true if the first state "defeats" the second state or at least ties with it in terms of suitability.
|
boolean |
betterOrEqualAndComparable(State a,
State b)
For bike rental, parking, and approaching turn-restricted intersections states are incomparable:
they exist on separate planes.
|
ShortestPathTree |
getNewShortestPathTree(RoutingRequest routingRequest)
Create a new shortest path tree using this function, considering whether it allows co-dominant States.
|
protected abstract boolean betterOrEqual(State a, State b)
public boolean betterOrEqualAndComparable(State a, State b)
public ShortestPathTree getNewShortestPathTree(RoutingRequest routingRequest)
Copyright © 2019. All rights reserved.