Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-2112

Review init + config pattern in simulator

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: TVB-Simulator
    • Labels:
      None

      Description

      In theory, the init method should suffice for preparing an object for use, yet simulator objects do significant work and in some uses such as memory estimate, it is undesirable to wait for full initialization to esitmate memory.

      The init & config code needs review across the simulator to see where the separate config can be dropped and what impact on performance it will have.

      In some case, e.g. preconfigure, all the component config calls do not require any arguments and the called code could move to the respective constructors of those components.

        Attachments

          Activity

            People

            • Assignee:
              marmaduke.woodman Marmaduke Woodman
              Reporter:
              marmaduke.woodman Marmaduke Woodman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                0m
                Logged:
                Time Not Required
                Not Specified