Package org.planit.io.xml.demands
Class DemandsPopulator
- java.lang.Object
-
- org.planit.io.xml.demands.DemandsPopulator
-
public class DemandsPopulator extends Object
This class contains methods to populate the Demands object using input values from the XML demands input file.- Author:
- gman6028
-
-
Constructor Summary
Constructors Constructor Description DemandsPopulator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
createAndRegisterDemandMatrix(Demands demands, List<org.planit.xml.generated.XMLElementOdMatrix> oddemands, Zoning.Zones zones, InputBuilderListener inputBuilderListener)
Creates a ODDemandMatrix object from a List of Odmatrix objects read in from the XML input file and registers it in the Demands object
-
-
-
Method Detail
-
createAndRegisterDemandMatrix
public static void createAndRegisterDemandMatrix(Demands demands, List<org.planit.xml.generated.XMLElementOdMatrix> oddemands, Zoning.Zones zones, InputBuilderListener inputBuilderListener) throws Exception
Creates a ODDemandMatrix object from a List of Odmatrix objects read in from the XML input file and registers it in the Demands object- Parameters:
demands
- the PlanIt Demands object to be populatedoddemands
- List of generated XMLElementOdMatrix objects with data from the XML input filezones
- zones in the current networkinputBuilderListener
- InputBuilderListener containing zones by external Id- Throws:
Exception
- thrown if there is an error during processing
-
-