use of org.kanonizo.algorithms.heuristics.comparators.GreedyComparator in project kanonizo by kanonizo.
the class Schwa method getOptions.
@OptionProvider(paramKey = "schwa_secondary_objective")
public static List<Comparator> getOptions() {
ArrayList<Comparator> options = new ArrayList<>();
options.add(new GreedyComparator());
options.add(new AdditionalComparator());
return options;
}
use of org.kanonizo.algorithms.heuristics.comparators.GreedyComparator in project kanonizo by kanonizo.
the class GreedyAlgorithm method init.
@Override
public void init(List<TestCase> testCases) {
super.init(testCases);
comp = new GreedyComparator();
Collections.sort(testCases, comp);
}
Aggregations