Package net.sf.tweety.arg.aspic.order
Class SetComparator<T>
- java.lang.Object
-
- net.sf.tweety.arg.aspic.order.SetComparator<T>
-
- Type Parameters:
T
- type of the compared sets' elements
- All Implemented Interfaces:
java.util.Comparator<java.util.Collection<T>>
public class SetComparator<T> extends java.lang.Object implements java.util.Comparator<java.util.Collection<T>>
- Author:
- Nils Geilen A comparator for sets of T according to def.3.19 in Mogdil and Prakken
-
-
Constructor Summary
Constructors Constructor Description SetComparator(java.util.Comparator<T> comp, boolean elitist)
Constructs an new set comparator
-
-
-
Constructor Detail
-
SetComparator
public SetComparator(java.util.Comparator<T> comp, boolean elitist)
Constructs an new set comparator- Parameters:
comp
- comparator for single elementselitist
- elitist or democratic behvaiour
-
-