Class SetComparator<T>

java.lang.Object
org.tweetyproject.arg.aspic.order.SetComparator<T>
Type Parameters:
T - type of the compared sets' elements
All Implemented Interfaces:
Comparator<Collection<T>>

public class SetComparator<T> extends Object implements Comparator<Collection<T>>
Author:
Nils Geilen A comparator for sets of T according to def.3.19 in Mogdil and Prakken
  • Constructor Details

    • SetComparator

      public SetComparator(Comparator<T> comp, boolean elitist)
      Constructs an new set comparator
      Parameters:
      comp - comparator for single elements
      elitist - elitist or democratic behvaiour
  • Method Details