public interface ImmutableCQContainmentCheck<P extends AtomPredicate>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isContainedIn(ImmutableCQ<P> cq1,
ImmutableCQ<P> cq2)
Returns true if the query cq1 is contained in the query cq2
(in other words, the first query is more specific, it has fewer answers)
|
default void |
removeContainedQueries(List<ImmutableCQ<P>> queries)
Removes queries that are contained syntactically, using the method
isContainedIn(CQIE q1, CQIE 2).
|
boolean isContainedIn(ImmutableCQ<P> cq1, ImmutableCQ<P> cq2)
cq1 - cq2 - default void removeContainedQueries(List<ImmutableCQ<P>> queries)
queries - Copyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.