Class PathOutputTypeAdapterImpl

    • Constructor Detail

      • PathOutputTypeAdapterImpl

        public PathOutputTypeAdapterImpl​(OutputType outputType,
                                         TrafficAssignment trafficAssignment)
        Constructor
        Parameters:
        outputType - the output type for the current persistence
        trafficAssignment - the traffic assignment used to provide the data
    • Method Detail

      • getPathOutputPropertyValue

        public Optional<?> getPathOutputPropertyValue​(OutputProperty outputProperty,
                                                      OdDataIterator<? extends ManagedDirectedPath> odPathIterator,
                                                      Mode mode,
                                                      TimePeriod timePeriod,
                                                      PathOutputIdentificationType pathOutputType)
        Returns the specified output property values for the current cell in the ODPathIterator
        Specified by:
        getPathOutputPropertyValue in interface PathOutputTypeAdapter
        Parameters:
        outputProperty - the specified output property
        odPathIterator - the iterator through the current ODPath object
        mode - the current mode
        timePeriod - the current time period
        pathOutputType - the type of objects in the path list
        Returns:
        the value of the specified property (or an Exception if an error has occurred)