Class InputBuilderListener

  • All Implemented Interfaces:
    EventListener, PlanitComponentListener, EventListener
    Direct Known Subclasses:
    PlanItInputBuilder, TntpInputBuilder

    public abstract class InputBuilderListener
    extends Object
    implements PlanitComponentListener
    Base input builder class that gets notified whenever traffic assignment components are to be populated or configured. It also has readers for each of the main inputs (network, zoning, demands) that can be set by any derived class using specific subclasses dedicated to the specific formats of the data sources used.
    Author:
    markr
    • Constructor Detail

      • InputBuilderListener

        public InputBuilderListener()
        Constructor
    • Method Detail

      • getKnownSupportedEventTypes

        public PlanitComponentEventType[] getKnownSupportedEventTypes()
        Each input builder listener should be able to deal with at least the following Events and as such is automatically registered to listen for them when providing a derived instance to a PLANit project by providing them here:
        • PopulateNetworkEvent for populating a newly created empty network
        • PopulateZoningEvent for populating a newly created empty zoning
        • PopulateDemandsEvent for populating a newly created empty demands
        • PopulatePhysicalCostEvent for populating a newly created empty physical costs
        • PopulateInitialLinkSegmentCostEvent for populating a newly created empty initial link segment costs
        • PopulateComponentEvent for all events that can be intercepted byt no dedicated event exists for (likely only for internal platform use)
        Specified by:
        getKnownSupportedEventTypes in interface EventListener
        Returns:
        default supported event types