Package org.goplanit.input
Class InputBuilderListener
- java.lang.Object
-
- org.goplanit.input.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 Summary
Constructors Constructor Description InputBuilderListener()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.goplanit.utils.event.EventListener
hasKnownSupportedEventTypes
-
Methods inherited from interface org.goplanit.component.event.PlanitComponentListener
onPlanitComponentEvent
-
-
-
-
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 interfaceEventListener
- Returns:
- default supported event types
-
-