Menu

Commit [r19509]  Maximize  Restore  History

* Added my own AgentProperties Module and XML data format. This is a first step toward heterogeneous agent populations.

- The XML schema definition is currently defined in agentproperties.xsd, the design is not final
- XML Reading is done using JAXB
- Fare Module has been updated to be able to use this instead of
- Scheduling done by PopulationGenerator is extremely poor, but for simple agents with a single work activity it should work...
- The scoring function is really just a first version.

pcbouman 2012-05-11

added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/ActivityProperties.java
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/AgentProperties.java
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/AgentPropertiesXMLReader.java
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/LocationDescription.java
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/TimePreferences.java
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/population
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/population/PopulationGenerator.java
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/scoring
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/scoring/AgentPropertiesScoringFunctionFactory.java
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/xml
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/xml/Agents.java
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/xml/Location.java
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/xml/ObjectFactory.java
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/xml/TemporalProperties.java
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/scenarios
added /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/scenarios/SingleLineScenario.java
changed /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/transitfares/FareHandler.java
changed /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/transitfares/TransitFareRouterFactoryImpl.java
changed /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/transitfares/TransitFareRouterNetworkTimeAndDisutilityCalc.java
changed /playgrounds/trunk/pbouman/src/main/java/playground/pbouman/transitfares/TransitFares.java
added /playgrounds/trunk/pbouman/xml
added /playgrounds/trunk/pbouman/xml/agentproperties.xsd
added /playgrounds/trunk/pbouman/xml/example-agentproperties.xml
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/ActivityProperties.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/AgentProperties.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/AgentPropertiesXMLReader.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/LocationDescription.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/TimePreferences.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/population/PopulationGenerator.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/scoring/AgentPropertiesScoringFunctionFactory.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/xml/Agents.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/xml/Location.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/xml/ObjectFactory.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/agentproperties/xml/TemporalProperties.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/scenarios/SingleLineScenario.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/transitfares/FareHandler.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/transitfares/TransitFareRouterFactoryImpl.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/transitfares/TransitFareRouterNetworkTimeAndDisutilityCalc.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/src/main/java/playground/pbouman/transitfares/TransitFares.java Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/xml/agentproperties.xsd Diff Switch to side-by-side view
Loading...
/playgrounds/trunk/pbouman/xml/example-agentproperties.xml Diff Switch to side-by-side view
Loading...