Package org.goplanit.cost.virtual
Interface VirtualCost
-
- All Superinterfaces:
Cost<ConnectoidSegment>
- 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(VirtualNetwork virtualNetwork, 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.goplanit.cost.Cost
getDTravelTimeDFlow, getGeneralisedCost, getTravelTimeCost
-
-
-
-
Method Detail
-
populateWithCost
void populateWithCost(VirtualNetwork virtualNetwork, 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:
virtualNetwork
- the cost pertains tomode
- the mode these costs pertain tocostToFill
- array of link segment costs identified by the link segment's internal id- Throws:
PlanItException
- thrown if error
-
-