Package org.planit.io.project
Class PlanItProject
- java.lang.Object
-
- org.planit.project.CustomPlanItProject
-
- org.planit.io.project.PlanItProject
-
public class PlanItProject extends CustomPlanItProject
PLANit project which is nothing more than a CustomPlanItProject without any custom configuration pre-embedded. So, it allows maximum flexibility for users. It does assume the PLANit default input format and registers the PLANit default output formatter automtically- Author:
- markr, gman6028
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.planit.project.CustomPlanItProject
CustomPlanItProject.ProjectAssignmentBuilders
-
-
Field Summary
-
Fields inherited from class org.planit.project.CustomPlanItProject
assignmentBuilders, demands, id, inputBuilderListener, inputs, odPathSets, outputFormatters, physicalNetworks, projectToken, zonings
-
-
Constructor Summary
Constructors Constructor Description PlanItProject(String projectPath)
Constructor taking project path where to find all project input files
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrafficAssignmentConfigurator<? extends TrafficAssignment>
createAndRegisterTrafficAssignment(String trafficAssignmentType, Demands theDemands, Zoning theZoning, InfrastructureNetwork theNetwork)
Create and register a deterministic traffic assignment instance of a given type-
Methods inherited from class org.planit.project.CustomPlanItProject
createAndRegisterDemands, createAndRegisterInfrastructureNetwork, createAndRegisterInitialLinkSegmentCost, createAndRegisterInitialLinkSegmentCost, createAndRegisterInitialLinkSegmentCost, createAndRegisterOdPathSets, createAndRegisterOutputFormatter, createAndRegisterZoning, executeAllTrafficAssignments, executeTrafficAssignment, getInitialLinkSegmentCost, getOutputFormatter, registerEligibleTrafficComponentClass
-
-
-
-
Constructor Detail
-
PlanItProject
public PlanItProject(String projectPath) throws PlanItException
Constructor taking project path where to find all project input files- Parameters:
projectPath
- the project path to source input files from- Throws:
PlanItException
- thrown if error
-
-
Method Detail
-
createAndRegisterTrafficAssignment
public TrafficAssignmentConfigurator<? extends TrafficAssignment> createAndRegisterTrafficAssignment(String trafficAssignmentType, Demands theDemands, Zoning theZoning, InfrastructureNetwork theNetwork) throws PlanItException
Create and register a deterministic traffic assignment instance of a given type- Overrides:
createAndRegisterTrafficAssignment
in classCustomPlanItProject
- Parameters:
trafficAssignmentType
- the class name of the traffic assignment type object to be createdtheDemands
- the demandstheZoning
- the zoningtheNetwork
- the network- Returns:
- the traffic assignment configurator object
- Throws:
PlanItException
- thrown if there is an error
-
-