Class UntypedLinkOutputTypeAdapterImpl<LS extends LinkSegment>

    • Constructor Detail

      • UntypedLinkOutputTypeAdapterImpl

        public UntypedLinkOutputTypeAdapterImpl​(OutputType outputType,
                                                TrafficAssignment trafficAssignment)
        Constructor
        Parameters:
        outputType - the OutputType this adapter corresponds to
        trafficAssignment - TrafficAssignment object which this adapter wraps
    • Method Detail

      • getLinkSegmentOutputPropertyValue

        public Optional<?> getLinkSegmentOutputPropertyValue​(OutputProperty outputProperty,
                                                             LS linkSegment)
        Return the value of a specified output property of a link segment
        Specified by:
        getLinkSegmentOutputPropertyValue in interface UntypedLinkOutputTypeAdapter<LS extends LinkSegment>
        Parameters:
        outputProperty - the specified output property
        linkSegment - the specified link segment
        Returns:
        the value of the specified output property (or an Exception message if an error occurs)