-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MaaS model correct conversion #3
Conversation
Ive removed the additional test function and replaced it with this line: |
Ive also added the CWA so we can check when the converters is fixed that all test pass on TravelPlanner, MaaS and CWA |
Ive fixed the existing tests, so that they run on TravelPlanner, CWA and MaaS. This doesn't solve the issue with the missing behaviour but makes a better starting point |
@Nicolas-Boltz For Normal assignments: Shall i just set the node charactersits at every outpin? Akin to the micro converter |
@01Parzival10 @Entenwilli I am done fixing small stuff, you can review this PR now. |
Currently, this PR is hard to evaluate, as assigning a forward assignment to every node (including the PCM Source Node) will lead to no TFGs as the finder cannot determine a source and recurses endlessly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some smaller review comments, overall it looks good
bundles/org.dataflowanalysis.converter/src/org/dataflowanalysis/converter/PCMConverter.java
Outdated
Show resolved
Hide resolved
bundles/org.dataflowanalysis.converter/src/org/dataflowanalysis/converter/PCMConverter.java
Show resolved
Hide resolved
...s/org.dataflowanalysis.converter.tests/src/org/dataflowanalysis/converter/tests/PCMTest.java
Outdated
Show resolved
Hide resolved
...s/org.dataflowanalysis.converter.tests/src/org/dataflowanalysis/converter/tests/PCMTest.java
Outdated
Show resolved
Hide resolved
Is this an actual issue tho? Are the DFD's created by the Converter actually supposed to be put into the analysis again? Because #170 will not solve this. It will probably lead to single node unconnected TFG's since All the assignments will be independent of their input pins |
Hmm, also true.... From what I have gathered so far, the created DFD seems fine, so there is no need to look at the TFGs of the generated model |
The DFDs created by the converter are put back into the (dfd)analysis that's the whole point. |
If @01Parzival10 is correct (and I agree he is), DataFlowAnalysis/DataFlowAnalysis#170 will indeed not fix this. To get usable TFGs from the Finder, Forwarding Assignments are most likely needed |
Lets discuss that tomorrow and adress it in a separate PR. |
@01Parzival10 Shall i wait for your review? |
Add MaaS model and tmp test code