Uploaded image for project: 'OpenTrafficSim'
  1. OpenTrafficSim
  2. OTS-85

The current lane based generator classes are complicated and not useful

    XMLWordPrintable

    Details

    • Type: Epic
    • Status: Done
    • Priority: High
    • Resolution: Unresolved
    • Labels:
      None
    • Epic Name:
      Redesign of lane based generators
    • Organization:
      Generic
    • Java Project:
      ots-road

      Description

      A lane based GTU generator should make it easy to generate lane based GTUs with a minimum of code duplication, even in networks with many generators. (This was the aim of the unused LaneBasedTemplateGTU and LaneBasedTemplateGTUType classes.)

      Some aspects of the generated GTUs that should be easily configurable are:

      1. Length distribution
      2. Width distribution
      3. Perception
      4. StrategicalPlanner
      5. Route or destination (used by the StrategicalPlanner

      The Perception, StrategicalPlanner and Route/Destination may be fixed, or randomly selected from a distribution of similar objects. Some of these objects have internal state and must contructed per generated GTU; others have no internal state and may be shared by any number of GTUs. In fact, a distribution can contain both stateful and stateless objects.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                P.Knoppers Peter Knoppers
                Reporter:
                P.Knoppers Peter Knoppers
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: