mirror of
https://github.com/RAIRLab/Spectra.git
synced 2024-11-09 11:10:34 -05:00
Removed dead code
This commit is contained in:
parent
7760125ea4
commit
13b3879630
1 changed files with 0 additions and 17 deletions
|
@ -164,23 +164,6 @@ public class Operations {
|
||||||
return Optional.of(ans.get().getRight());
|
return Optional.of(ans.get().getRight());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Value getTime(int time) {
|
|
||||||
return new Constant("t" + time);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static int getTime(Value time) {
|
|
||||||
String s = time.getName();
|
|
||||||
String[] ss = s.split("t");
|
|
||||||
if (ss.length != 2) {
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
int t = Integer.parseInt(ss[1]);
|
|
||||||
return t + 1;
|
|
||||||
} catch (NumberFormatException e) {
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public static Optional<Set<Pair<State, Action>>> apply(Set<Formula> background, Action action, State state) {
|
public static Optional<Set<Pair<State, Action>>> apply(Set<Formula> background, Action action, State state) {
|
||||||
|
|
||||||
// // Get resulting states from cache if computed before
|
// // Get resulting states from cache if computed before
|
||||||
|
|
Loading…
Reference in a new issue