Package org.planit.cost.virtual
Interface VirtualCost
-
- All Superinterfaces:
Cost<ConnectoidSegment>
,Serializable
- All Known Implementing Classes:
AbstractVirtualCost
,FixedConnectoidTravelTimeCost
,SpeedConnectoidTravelTimeCost
public interface VirtualCost extends Cost<ConnectoidSegment>
Interface to classify costs of virtual links- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
populateWithCost(Mode mode, double[] costToFill)
Invoker expects (mode specific ) costs in passed in array to be filled, where each entry signifies a link segment by its id-
Methods inherited from interface org.planit.cost.Cost
getSegmentCost
-
-
-
-
Method Detail
-
populateWithCost
void populateWithCost(Mode mode, double[] costToFill) throws PlanItException
Invoker expects (mode specific ) costs in passed in array to be filled, where each entry signifies a link segment by its id- Parameters:
mode
- the mode these costs pertain tocostToFill
- array of link segment costs identified by the link segment's internal id- Throws:
PlanItException
- thrown if error
-
-