blob: 6bcbd1c39e89f4413285e4c1ca9e32937c78c972 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package tools.refinery.store.dse.tests;
import tools.refinery.store.dse.transition.objectives.Criterion;
import tools.refinery.store.dse.transition.objectives.CriterionCalculator;
import tools.refinery.store.model.Model;
public class DummyCriterion implements Criterion {
protected final boolean returnValue;
public DummyCriterion(boolean returnValue) {
this.returnValue = returnValue;
}
@Override
public CriterionCalculator createCalculator(Model model) {
return () -> returnValue;
}
}
|