blob: e602242e25e361ede47fe65f62e3b3638e2477f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package tools.refinery.store.reasoning;
import tools.refinery.store.adapter.ModelAdapter;
import tools.refinery.store.reasoning.representation.AnyPartialSymbol;
import tools.refinery.store.reasoning.representation.PartialSymbol;
import tools.refinery.store.query.Dnf;
import tools.refinery.store.query.ResultSet;
public interface ReasoningAdapter extends ModelAdapter {
@Override
ReasoningStoreAdapter getStoreAdapter();
default AnyPartialInterpretation getPartialInterpretation(AnyPartialSymbol partialSymbol) {
// Cast to disambiguate overloads.
var typedPartialSymbol = (PartialSymbol<?, ?>) partialSymbol;
return getPartialInterpretation(typedPartialSymbol);
}
<A, C> PartialInterpretation<A, C> getPartialInterpretation(PartialSymbol<A, C> partialSymbol);
ResultSet getLiftedResultSet(Dnf query);
}
|