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 more efficient mode for reduce when only considering named classes. #619

Merged
merged 1 commit into from
Feb 7, 2020

Conversation

balhoff
Copy link
Contributor

@balhoff balhoff commented Feb 7, 2020

This is prompted by a failure GO had when trying to update to a newer ROBOT version. The reduce command was failing to complete on the large go-lego ontology. This additional implementation walks the reasoner taxonomy, and so is more efficient than the previous approach, but it is also limited to only considering subclass axioms between named classes (there are some corner cases where the approach of generating a name for the anonymous expressions doesn't work with the new algorithm). There is a new command-line option --named-classes-only to engage the faster version.

@balhoff balhoff changed the title Add more efficient mode for reduce when only considering named classes. Add more efficient mode for reduce when only considering named classes. Feb 7, 2020
@jamesaoverton
Copy link
Member

Looks good to me. Thanks!

@jamesaoverton jamesaoverton merged commit 8d68aed into master Feb 7, 2020
@jamesaoverton jamesaoverton deleted the reduce-enhancement branch March 2, 2020 20:18
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.

None yet

2 participants