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

XML parser does not parse edge IDs #142

Open
Mati-AAU opened this issue Dec 14, 2022 · 0 comments
Open

XML parser does not parse edge IDs #142

Mati-AAU opened this issue Dec 14, 2022 · 0 comments

Comments

@Mati-AAU
Copy link
Contributor

Mati-AAU commented Dec 14, 2022

Projects loaded with XML are currently given "NotImplemented" as value for their edge ID

Does not cause issues right now because the edge IDs are only used for communication with GUI, and i believe most things currently happen through the JSON parser, although ofcourse can cause issues if XML is going to be wider used.

seblund pushed a commit that referenced this issue Feb 1, 2023
…y query (#142)

This commit solves parsing of universal and inconsistent locations.
The previous commits in main can make the internal representation for any single location from a query.
However, when combining components, it only support locations that are not universal or inconsistent.

We have add a extra field `add` in the enum type `LocationType` to represent any location in for the particular component.

We have refactored `get_state` function and spilled some of it content into some sub functions.

The method `compare_partial_locations` in `LocationID` is removed and moved to `LocationTuple` with extra addition code to handle comparing of universal or inconsistent locations

The method `get_location` in `TransitionSystem` returns the `LocationTuple` for the given `LocationID` input argument

The method 'get_combined_decls' combines the individual declaration of components into one declaration. This method is used for `apply_constraints_to_state` in extract_state.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant