dh.java.math.algebra.structure.relation
Class OrderedPartition<E>
java.lang.Object
dh.java.math.algebra.structure.relation.AbstractPartition<E>
dh.java.math.algebra.structure.relation.OrderedPartition<E>
- Type Parameters:
E
-
- All Implemented Interfaces:
- EquivalenceRelation<E>, GrowingPartition<E>, Partition<E>, Relation<E>
public class OrderedPartition<E>
- extends AbstractPartition<E>
To Do: optimize
- Author:
- Dennis Heidsiek
Field Summary |
protected Comparator<? super E> |
comparator
Provides a total order on the elements to speed up the implementation. |
Methods inherited from class dh.java.math.algebra.structure.relation.AbstractPartition |
addAll, addAll, addNewClass, addToClass, detailedToString, getEquivalenceClass, getEquivalenceClasses, getEquivalenceClassesAsList, getRepresentativeSystem, getSuperset, related, toString |
comparator
protected Comparator<? super E> comparator
- Provides a total order on the elements to speed up the implementation.
OrderedPartition
public OrderedPartition(Comparator<? super E> comparator,
boolean implicitGrow)
processNewList
public void processNewList(List<E> list)
- Specified by:
processNewList
in class AbstractPartition<E>
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.