Skip to content
Snippets Groups Projects

Resolve "Generate PG from SFG"

Merged Angus Lothian requested to merge 25-generate-pg-from-sfg into develop

Adds:

  • A function that returns a nested list which describes the precedence of all of the output ports in an sfg. Output ports with different dependencies are handled correctly.
  • A function that returns all components of a specified type_name in an sfg.
  • Test cases covering both of above.
  • Removal of the old precedence_graph and schema files.
  • Updated class diagram with new precedence_graph functions.
  • The inputs_required_for_output() implementation for SFG is now iterative and is nolonger is recursive.

Closes #25 (closed)

Edited by Angus Lothian

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Jacob Wahlman
  • Felix Goding
  • Jacob Wahlman approved this merge request

    approved this merge request

  • Jacob Wahlman unapproved this merge request

    unapproved this merge request

  • Angus Lothian added 6 commits

    added 6 commits

    • 05bac1ad - Remove unnecessary line breaking
    • f4fce198 - Remove unnecessary spacing
    • 15dd9728 - Add helper method for traversing the SFG for the precedence list.
    • 5f34120a - Remove unnecessary comments
    • 94afff37 - Change class method type_name argument from self to cls
    • 0c4f2e0e - Add some pylint fixes

    Compare with previous version

  • Angus Lothian added 4 commits

    added 4 commits

    • 0c4f2e0e...16972202 - 3 commits from branch develop
    • 4f597d0c - Merge with latest code from develop, change some '== False' to 'not' in test_sfg.

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading