Search in sources :

Example 1 with AdditionalComparator

use of org.kanonizo.algorithms.heuristics.comparators.AdditionalComparator 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;
}
Also used : GreedyComparator(org.kanonizo.algorithms.heuristics.comparators.GreedyComparator) ArrayList(java.util.ArrayList) AdditionalComparator(org.kanonizo.algorithms.heuristics.comparators.AdditionalComparator) AdditionalComparator(org.kanonizo.algorithms.heuristics.comparators.AdditionalComparator) GreedyComparator(org.kanonizo.algorithms.heuristics.comparators.GreedyComparator) Comparator(java.util.Comparator) OptionProvider(org.kanonizo.annotations.OptionProvider)

Aggregations

ArrayList (java.util.ArrayList)1 Comparator (java.util.Comparator)1 AdditionalComparator (org.kanonizo.algorithms.heuristics.comparators.AdditionalComparator)1 GreedyComparator (org.kanonizo.algorithms.heuristics.comparators.GreedyComparator)1 OptionProvider (org.kanonizo.annotations.OptionProvider)1