Definitionadvanced
Qualitative constraint network
Also called QCN, qualitative network.
Variables over an infinite domain with a relation of a qualitative calculus on each pair; it is consistent when some assignment satisfies every relation.
A qualitative constraint network is the input of qualitative reasoning: a set of variables, each standing for an object of the domain of a qualitative constraint calculus, with a relation of the calculus on each pair, such as "interval 1 is before or meets interval 2". It is a binary constraint satisfaction problem whose domain is infinite, so it cannot be solved by trying values. Instead, the reasoning works on the labels with the composition table. This page defines the network and the notions used with it: solution, consistency, scenario, refinement, the minimal network and algebraic closure.
Definition
Fix a calculus with domain , base relations and weak composition . A qualitative constraint network on variables has
- variables , each ranging over ;
- a label for each ordered pair, with and .
A pair that the input does not mention gets the universal label . Then
- a solution is a map with for all , where a label is read as the union of its base relations;
- is consistent when it has a solution;
- is a refinement of , written , when for all ;
- a scenario (or atomic network) is a network in which every label is a single base relation; every solution fixes the scenario of the base relations that hold between its values;
- the minimal network of has the label ;
- is algebraically closed when for all .
Facts.
- is consistent exactly when one of its scenarios is consistent, since a solution fixes one.
- The minimal network is a refinement with the same solutions, and it is algebraically closed, because the table is sound.
- The algebraic closure of , the largest algebraically closed refinement, has the same solutions as . If it has an empty label, is inconsistent.
- For a set of relations, is the problem of deciding consistency of networks whose labels are all in . A subclass is called tractable when is in P.
Examples and non-examples
An interval network that closure solves. Take intervals 0, 1, 2, 3 with , , and , in Allen's interval algebra. Its algebraic closure has , and , and this is also its minimal network. The trace is on the algebraic closure page.
Closed but inconsistent. The interval network , , , , , is algebraically closed, has no empty label, and has no solution. Closure is not a complete test for interval networks, as NP-completeness of the interval algebra predicts.
Closed but not minimal. The point network , , , and is consistent and algebraically closed, with . But would force , so the minimal label is . This is why minimal labels of point networks with need more than closure (van Beek 1992).
A scenario. The atomic network , , is consistent, for example with the intervals , and . The atomic network , , is not, because .
Non-example: a ternary constraint. "Interval 2 lies between intervals 0 and 1" relates three objects. It is not a label of a binary network; it needs a ternary calculus or extra variables.
Non-example: a metric bound. "Interval 1 starts at most 5 minutes after interval 0 ends" uses a number. It belongs to the simple temporal problem, not to a qualitative network.
Common errors
- Storing only one direction of a label and forgetting that the other direction is its converse, not the same set.
- Reading "consistent" as "algebraically closed". Closure is necessary; it is sufficient only for some subclasses.
- Treating the universal label as "no information about the pair" and then skipping the pair in propagation. Closure can still shrink it.
Related definitions
- Qualitative constraint calculus: the relations that the labels come from.
- Composition table: the operation used to tighten labels.
- Algebraic closure and Allen's constraint propagation: computing the closed refinement.
- Point algebra consistency: an exact test for point networks.
- Constraint graph: the graph of the pairs with a label that is not universal.
- Nebel-Bürckert theorem: for ORD-Horn labels, closure decides consistency.
References
- Frank Dylla and others, A survey of qualitative spatial and temporal calculi, algebraic and computational properties, ACM Computing Surveys 50(1), 2017, pages 1 to 39 (constraint networks, scenarios, algebraic closure, and the consistency problem of each calculus)
- Jochen Renz and Gérard Ligozat, Weak composition for qualitative spatial and temporal reasoning, CP 2005, Lecture Notes in Computer Science 3709, Springer, 2005, pages 534 to 548 (networks, refinements, scenarios and closure under weak composition)
- Peter van Beek, Reasoning about qualitative temporal information, Artificial Intelligence 58(1-3), 1992, pages 297 to 326 (consistent scenarios and minimal labels of point and interval networks)
- James F. Allen, Maintaining knowledge about temporal intervals, Communications of the ACM 26(11), 1983, pages 832 to 843 (networks of interval relations)
- Rina Dechter, Constraint Processing, Morgan Kaufmann, 2003, Chapter 12, Temporal constraint networks (qualitative networks and their minimal networks)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag N9PK9N Edit this page History Report an error Markdown