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

Add sorts/types/names to classes #1

Merged
merged 3 commits into from
Jul 11, 2023

Conversation

saulshanabrook
Copy link
Member

This adds a mapping of e-class id to class type to the format.

One use case for this was in the visualizer in egglog (egraphs-good/egglog#147) to display the sort on each e-class.

Zulip link for conversation discussing this with @mwillsey

saulshanabrook and others added 3 commits July 11, 2023 17:51
This adds a mapping of e-class id to class type to the format.

One use case for this was in the visualizer in egglog
(egraphs-good/egglog#147) to display the sort
on each e-class.
This changes the tests to use the local files instead of those in the
extraction gym repo. I made this change so I could test the addition of
classes.

Feel free to disregard if you like.
@mwillsey
Copy link
Member

I pushed some changes, making class_data a map from classes to objects... thoughts?

@saulshanabrook
Copy link
Member Author

@mwillsey That looks good to me, more extensible if we want to add more data later on. Thx!

@mwillsey mwillsey merged commit a81d488 into egraphs-good:main Jul 11, 2023
@saulshanabrook saulshanabrook deleted the add-class-names branch July 11, 2023 23:08
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

Successfully merging this pull request may close these issues.

2 participants