Unfolding
All threads resolved!
All threads resolved!
Initial unfold implementation. Marked as draft because I don't know how to write tests for this. How should I compare 2 sfgs?
Closes #84 (closed)
Edited by Frans Skarman
Merge request reports
Activity
Indeed not clear how to test it... I see two ways:
- Some sanity checks of the type (can be applied in a loop of factors):
- Check that the number of operations of each type has increased N times
- Check that the number of delay elements is the same
- (Later: check that the iteration period bound has increased N times)
- Check that the SFGs simulate the same for some random input.
- Use graph iso-morphism from networkx https://networkx.org/documentation/stable/reference/algorithms/isomorphism.html and predefine the correct answer for some cases. This requires being able to transform it into an actual graph though.
- Some sanity checks of the type (can be applied in a loop of factors):
added 19 commits
-
6e37a83a...3d273210 - 15 commits from branch
master
- 24972d3b - "Working" but untested unfolding
- de8ba549 - Add rudiemntary test sfg unfolding
- 391818c1 - Add more unfolding tests
- e1e32739 - Remove debug prints
Toggle commit list-
6e37a83a...3d273210 - 15 commits from branch
@oscgu95 this is now ready for review
requested review from @oscgu95
- Resolved by Oscar Gustafsson
- Resolved by Oscar Gustafsson
- Resolved by Oscar Gustafsson
- Resolved by Oscar Gustafsson
Please register or sign in to reply