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

Links and Nodes should automatically be added to a Network

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: High
    • Resolution: Unresolved
    • Labels:
      None

      Description

      Right now, it is a manual step to add a Link or Node to a Network. This can easily be forgotten. The constructors of OTSNode and OTSLink should be changed in such a way that they are automatically added to e.g., OTSNetwork. The Node and Link can also get a getNetwork() function as a result.

        Attachments

          Activity

            People

            • Assignee:
              averbraeck Alexander Verbraeck
              Reporter:
              averbraeck Alexander Verbraeck
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                0m
                Logged:
                Time Not Required
                Not Specified