Constructor and Description |
---|
Partition() |
Partition(List<E> list1,
List<E> list2)
Create a partition based on the position of elements in the two lists.
|
Partition(Partition<E> partition)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
add(E t,
E im)
Add the couple to the partition
|
void |
addClass(ArrayList<E> toAdd) |
boolean |
equals(Object obj) |
ArrayList<E> |
getClass(E e) |
E |
getRepresentant(E e) |
int |
hashCode() |
Iterator<ArrayList<E>> |
iterator() |
Partition<E> |
join(Partition<E> p)
Return the join of this and the given partition p the join of two
partition is obtained by making the union of their non-disjoint classes
until stability ex: the join of {{a,b,c},{d,e}} and {{e,g},{k,l}} is
{{a,b,c},{d,e,g},{k,l}}
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public Partition<E> join(Partition<E> p)
Copyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.