Modelcore
RCC5
Also called RCC-5.
The calculus of five base relations between regions that ignores boundary contact, DR, PO, EQ, PP and PPi. It has 32 relations and NP-complete consistency.
RCC5 is the qualitative constraint calculus of five base relations between regions: discrete (DR), partial overlap (PO), equal (EQ), proper part (PP) and its converse (PPi). It is RCC8 with boundary contact ignored: DC and EC become DR, TPP and NTPP become PP, and TPPi and NTPPi become PPi. It describes containment and overlap, as between counties, catchments or sets of documents, when touching does not matter. This page treats it as a model of computation for constraint networks.
The machine
The domain is a set of regions, for example the non-empty regular closed subsets of the plane, with the relations defined from parthood and overlap as in Randell, Cui and Cohn (1992). For regions and :
| relation | meaning |
|---|---|
| and do not overlap (they may touch) | |
| they overlap and neither is part of the other | |
| is part of and | |
The five relations are jointly exhaustive and pairwise disjoint. A relation is a set of base relations, so there are relations, with converse taken base by base: DR, PO and EQ are their own converses, and PP and PPi are converses of each other.
The composition table gives the possible relations between and from and . The table below has on the rows and on the columns; is the set of all five relations, and the EQ row and column are the identity.
| DR | PO | PP | PPi | |
|---|---|---|---|---|
| DR | DR, PO, PP | DR, PO, PP | DR | |
| PO | DR, PO, PPi | PO, PP | DR, PO, PPi | |
| PP | DR | DR, PO, PP | PP | |
| PPi | DR, PO, PPi | PO, PPi | PO, EQ, PP, PPi | PPi |
The table was computed in the model of non-empty sets, by listing every way three non-empty sets can share the seven cells of a Venn diagram, and it agrees with the published RCC5 table. Three cells are the full set : DR with DR, PO with PO, and PP with PPi.
What it counts
An input is a qualitative constraint network on region variables, each pair labelled by one of the 32 relations. The questions are consistency, a solution (regions, or sets), and the minimal labels. Cost is counted in , with a label stored in 5 bits on a word-RAM, so intersection, converse and a composition lookup are , and algebraic closure costs .
Example. The network , , is inconsistent: composition gives , and the intersection with DR is empty, so algebraic closure finds the contradiction. The network , , is consistent: DR is in , and the sets , , are a solution.
Relation to other models
- RCC8. RCC5 is the coarsening of RCC8 that merges each pair of relations that differ only in boundary contact. Every RCC5 relation is an RCC8 relation, so RCC5 networks are a special case of RCC8 networks.
- Sets. The RCC5 base relations are the relations between non-empty sets: disjoint, overlapping, equal, and proper subset either way. Reasoning in RCC5 is reasoning about the Boolean structure of the regions, with no topology.
- Nine-intersection. The nine-intersection model can tell all eight RCC8 relations apart; RCC5 needs only whether the interiors meet and whether one region lies inside the other.
- Point algebra. The relations PP, EQ and PPi restricted to a chain of nested regions behave like of the point algebra.
Known results in the model
| problem | result | source |
|---|---|---|
| consistency, all 32 relations | NP-complete | Jonsson and Drakengren 1997 |
| consistency, base relations only | polynomial | Jonsson and Drakengren 1997 |
| maximal tractable subclasses | exactly four, one of them containing all base relations | Jonsson and Drakengren 1997 |
Membership in NP. A network is consistent exactly when a refinement to base relations is consistent, and Jonsson and Drakengren (1997) show that this test is polynomial for base relations, so a refinement is a certificate.
Classification. Jonsson and Drakengren (1997) gave a complete classification: every subset of the 32 relations is either contained in one of four maximal tractable subclasses, or its consistency problem is NP-complete. The analogous question for RCC8 is answered by the Renz-Nebel classification.
References
- David A. Randell, Zhan Cui and Anthony G. Cohn, A spatial logic based on regions and connection, Proceedings of KR'92, Morgan Kaufmann, 1992, pages 165 to 176 (the connection relation C, the relations defined from it, and the base relations of RCC8 and RCC5)
- Peter Jonsson and Thomas Drakengren, A complete classification of tractability in RCC-5, Journal of Artificial Intelligence Research 6, 1997, pages 211 to 221 (NP-completeness of RCC5 consistency and the four maximal tractable subclasses, one of which contains all base relations)
- Jochen Renz and Bernhard Nebel, On the complexity of qualitative spatial reasoning, a maximal tractable fragment of the Region Connection Calculus, Artificial Intelligence 108(1-2), 1999, pages 69 to 123 (NP-hardness of RCC8 consistency and the tractable subclasses of RCC8, the finer calculus that RCC5 coarsens)
- 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 (RCC5 among the surveyed calculi)
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 AQ4CJ2 Edit this page History Report an error Markdown