Skip to content

Conversation

@rtaupe
Copy link
Collaborator

@rtaupe rtaupe commented Dec 12, 2019

Support for domain-specific heuristics specified declaratively within ASP programs in the form of heuristic directives, as described in our upcoming research paper Domain-Specific Heuristics in Answer Set Programming: A Declarative Non-Monotonic Approach.

This is continuation of our work in #133.

rtaupe and others added 30 commits September 12, 2018 15:24
# Conflicts:
#	src/main/java/at/ac/tuwien/kr/alpha/common/AtomStoreImpl.java
#	src/main/java/at/ac/tuwien/kr/alpha/grounder/NaiveGrounder.java
#	src/main/java/at/ac/tuwien/kr/alpha/grounder/RuleGroundingOrder.java
#	src/test/java/at/ac/tuwien/kr/alpha/grounder/NaiveGrounderTest.java
# Conflicts:
#	src/main/java/at/ac/tuwien/kr/alpha/Alpha.java
#	src/main/java/at/ac/tuwien/kr/alpha/Main.java
#	src/main/java/at/ac/tuwien/kr/alpha/common/Program.java
#	src/main/java/at/ac/tuwien/kr/alpha/solver/DefaultSolver.java
#	src/test/java/at/ac/tuwien/kr/alpha/AlphaTest.java
(which can then be used as input for ReplayHeuristic)
Fixes #172 (implementation specific to domspec_heuristics)
rtaupe and others added 30 commits November 3, 2021 17:29
for new heuristic nogoods (caused by the bugfix e5797c0)
when converting back from function terms
T in positive condition, TM in negative condition
(all related to handling of domain-specific heuristics, mostly suggested by @AntoniusW)
…ring heuristic directive condition enhancement
…ring heuristic directive condition enhancement
… of heuristic rule, to avoid superfluous grounding"

This reverts commit 129d50b.
 * directive and rule are now matched using the MGU of the head, which allows for an exact matching (allowing additional matches not possible before, and avoiding futile matches)
 * variable names of the directive are preferably left unchanged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants