blob: bab203402658af85173a54813e2d6f00e3759793 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* SPDX-FileCopyrightText: 2021-2023 The Refinery Authors <https://refinery.tools/>
*
* SPDX-License-Identifier: EPL-2.0
*/
package tools.refinery.store.reasoning.translator;
import tools.refinery.store.representation.TruthValue;
public enum AdviceSlot {
EXTEND_MUST(true),
RESTRICT_MAY(true),
/**
* Same as {@link #RESTRICT_MAY}, but only active if the value of the relation is not {@link TruthValue#TRUE} or
* {@link TruthValue#ERROR}.
*/
RESTRICT_NEW(false);
private final boolean monotonic;
AdviceSlot(boolean monotonic) {
this.monotonic = monotonic;
}
public boolean isMonotonic() {
return monotonic;
}
}
|