Comments (3)
@rkaminsk For clasp, the "domain atoms" considered by "domRec" are the atoms that have an associated heuristic directive applying on the top-level. The mode was mostly intended to be used with a fixed set of atoms to minimize.
In the first example, the relevant atoms are a(1..3)
because the heuristic directives are unconditionally true.
In the second example, there are no "domain atoms" because all heuristic directives depend on the external atom e
, which is assumed to be false
. Of course, one could argue that if e
is assumed to be true
, the relevant atoms again should be a(1..3)
(i.e. heuristic is true wrt root- instead of top-level). However, this is currently not implemented.
from clingo.
I'll postpone this one for the time being. Let's hope we'll find some time to improve the domain recording options in the future.
from clingo.
@BenKaufmann do you know what is happening here? Right now, I am not sure where clasp is taking the domain atoms from in this scenario.
from clingo.
Related Issues (20)
- TypeError: unsupported operand type(s) for +: 'ASTSequence' and 'ASTSequence' HOT 1
- Problems building clingo for static linking HOT 1
- Performance degradation when an incremental solve times out HOT 2
- Optional HOT 1
- quick arithmetic between two aggregate expression in place HOT 1
- Tychecking control.solve HOT 1
- I am confused with the OR logic. HOT 2
- Evaluate using Profile-Guided Optimization (PGO) and Post Link Optimization (PLO) for Clingo HOT 1
- Issues Running Python Inside Clingo - MacOs - M2 Chip HOT 4
- disable printing info HOT 1
- Build Failure with Ubuntu 22.04.3 HOT 1
- A propagator-based approach to timeout a solve? HOT 8
- How to to Make Preference Criteria Effective HOT 1
- Clingo/gringo/clasp: incorrect behavior on Android 11+ HOT 9
- Capture the logger HOT 2
- C++ API throws exception from destructor that cannot be caught HOT 3
- Code that has no effect HOT 1
- The Python extension fails to compile: 'math/wide_integer/uintwide_t.h' file not found HOT 6
- Clingo programs with python scripts hang with Python3.12 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clingo.