Class NetworkRouter
- java.lang.Object
-
- org.matsim.contrib.freight.jsprit.NetworkRouter
-
public class NetworkRouter extends Object
Router that routesCarrierPlan
.- Author:
- stefan schröder
-
-
Constructor Summary
Constructors Constructor Description NetworkRouter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
routePlan(CarrierPlan plan, NetworkBasedTransportCosts netbasedTransportCosts)
Routes theCarrierPlan
with the router defined inNetworkBasedTransportCosts
.
-
-
-
Constructor Detail
-
NetworkRouter
public NetworkRouter()
-
-
Method Detail
-
routePlan
public static void routePlan(CarrierPlan plan, NetworkBasedTransportCosts netbasedTransportCosts)
Routes theCarrierPlan
with the router defined inNetworkBasedTransportCosts
.Note that this changes the plan, i.e. it adds routes to the input-plan.
-
-