Skip to content
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

Added multi formalism to create product of arbitrary number of formal… #251

Open
wants to merge 78 commits into
base: master
Choose a base branch
from

Conversation

RipplB
Copy link

@RipplB RipplB commented Feb 22, 2024

No description provided.

@RipplB
Copy link
Author

RipplB commented Feb 22, 2024

@mondokm @szdan97

@leventeBajczi
Copy link
Contributor

Thanks for the PR! Could you please provide a short description (either in a README placed under subprojects/common/analysis/src/main/java/hu/bme/mit/theta/analysis/multi, or possibly in the doc/wiki folder)? Just some details on what this addition is, and what its goals are.

Also, please bump the version (I think I'd go with a new minor version, to 5.1.0) in the build.gradle.kts.

@leventeBajczi
Copy link
Contributor

Sorry for the many merge commits, I'm trying to get Sonar running on forked repos.

@leventeBajczi leventeBajczi added the Ready to test This will run the final sonar check in PRs. label Feb 26, 2024
@RipplB RipplB requested a review from mondokm April 30, 2024 19:22
Copy link
Contributor

@mondokm mondokm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the changes! I only have some minor comments, but aside from them it looks good to me.

Comment on lines +27 to +30
testImplementation(project(":theta-cfa"))
testImplementation(project(":theta-cfa-analysis"))
testImplementation(project(":theta-xsts"))
testImplementation(project(":theta-xsts-analysis"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move cfa and xsts dependent tests to cfa-analysis and xsts-analysis to avoid circular dependencies here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Product of cfa and xsts cant fit in any of those

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The multi tests should be in a totally separate package. Everything else stays where it is

* @param <RPrec> Type of precision of right formalism
* @param <DataPrec> Type of data precision (formalism independent)
*/
public abstract class MultiAnalysis<LState extends State, RState extends State, DataState extends State, LBlank extends State, RBlank extends State,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Analysis components should be moved into their own separate classes instead of being lambdas (objects are also fine), so that they can be used on their own, without creating a full analysis

Copy link
Author

@RipplB RipplB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Every blank, control etc. should be called 'struct' everywhere

Copy link

sonarcloud bot commented May 23, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to test This will run the final sonar check in PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants