Package org.planit.interactor
Interface LinkVolumeAccessee
-
- All Superinterfaces:
EventListener,org.djutils.event.EventListenerInterface,InteractorAccessee,Serializable
- All Known Implementing Classes:
TraditionalStaticAssignment
public interface LinkVolumeAccessee extends InteractorAccessee
Link Volume accessee object.- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static org.djutils.event.EventTypeINTERACTOR_PROVIDE_LINKVOLUMEACCESSEEevent type fired off when this accessee is identified as a suitable candidate for an accessee request
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double[]getModalNetworkSegmentFlows(Mode mode)Get link segment flows for a specified modeintgetNumberOfLinkSegments()Get number of link segmentsdoublegetTotalNetworkSegmentFlow(LinkSegment linkSegment)Get the total flow across a link over all modes
-
-
-
Method Detail
-
getTotalNetworkSegmentFlow
double getTotalNetworkSegmentFlow(LinkSegment linkSegment)
Get the total flow across a link over all modes- Parameters:
linkSegment- the specified link segment- Returns:
- the total flow across this link segment
-
getModalNetworkSegmentFlows
double[] getModalNetworkSegmentFlows(Mode mode)
Get link segment flows for a specified mode- Parameters:
mode- mode- Returns:
- link segment flows for all modes
-
getNumberOfLinkSegments
int getNumberOfLinkSegments()
Get number of link segments- Returns:
- number of link segments
-
-