Package org.goplanit.interactor
Interface LinkInflowOutflowAccessee
-
- All Superinterfaces:
InteractorAccessee
,TrafficAssignmentComponentAccessee
- All Known Implementing Classes:
StaticLtm
public interface LinkInflowOutflowAccessee extends TrafficAssignmentComponentAccessee
Link inflow/outflow accessee. Implementing classes provide access to their current link segments' inflow and outflow rates. In addition, it also requires access to the used fundamental diagram- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Class<LinkInflowOutflowAccessor>
getCompatibleAccessor()
this accessee provides access to this accessordefault double
getLinkSegmentInflowPcuHour(LinkSegment linkSegment)
Get the total inflow rate of a link segment over all modesdouble[]
getLinkSegmentInflowsPcuHour()
Get link segment inflow rates for all link segments, where index is based on id of the link segment.default double
getLinkSegmentOutflowPcuHour(LinkSegment linkSegment)
Get the outflow rate of a link segment over all modesdouble[]
getLinkSegmentOutflowsPcuHour()
Get link segment outflow rates for all link segments, where index is based on id of the link segment.-
Methods inherited from interface org.goplanit.interactor.TrafficAssignmentComponentAccessee
getTrafficAssignmentComponent
-
-
-
-
Method Detail
-
getCompatibleAccessor
default Class<LinkInflowOutflowAccessor> getCompatibleAccessor()
this accessee provides access to this accessor- Specified by:
getCompatibleAccessor
in interfaceInteractorAccessee
- Returns:
- class that accessee provides to
-
getLinkSegmentInflowPcuHour
default double getLinkSegmentInflowPcuHour(LinkSegment linkSegment)
Get the total inflow rate of a link segment over all modes- Parameters:
linkSegment
- the specified link segment- Returns:
- the inflow rate of this link segment
-
getLinkSegmentOutflowPcuHour
default double getLinkSegmentOutflowPcuHour(LinkSegment linkSegment)
Get the outflow rate of a link segment over all modes- Parameters:
linkSegment
- the specified link segment- Returns:
- the outflow rate of this link segment
-
getLinkSegmentInflowsPcuHour
double[] getLinkSegmentInflowsPcuHour()
Get link segment inflow rates for all link segments, where index is based on id of the link segment.- Returns:
- link segment inflows for all modes
-
getLinkSegmentOutflowsPcuHour
double[] getLinkSegmentOutflowsPcuHour()
Get link segment outflow rates for all link segments, where index is based on id of the link segment.- Returns:
- link segment inflows for all modes
-
-