public class Simplex<V> extends AbstractSet<V> implements Set<V>
| Modifier and Type | Field and Description |
|---|---|
static boolean |
moreInfo |
| Constructor and Description |
|---|
Simplex(Collection<? extends V> collection)
Constructor.
|
Simplex(V... vertices)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <V> Set<Set<V>> |
boundary(Set<? extends Simplex<V>> simplexSet)
Report the boundary of a Set of Simplices.
|
int |
dimension()
Dimension of the Simplex.
|
boolean |
equals(Object o)
We want to allow for different simplices that share the same vertex set.
|
List<Set<V>> |
facets()
Report the facets of this Simplex.
|
int |
hashCode() |
boolean |
isNeighbor(Simplex<V> simplex)
True iff simplices are neighbors.
|
Iterator<V> |
iterator() |
int |
size() |
String |
toString()
String representation.
|
removeAlladd, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic Simplex(Collection<? extends V> collection)
collection - a Collection holding the Simplex verticesIllegalArgumentException - if there are duplicate verticespublic Simplex(V... vertices)
vertices - the vertices of the Simplex.IllegalArgumentException - if there are duplicate verticespublic String toString()
toString in class AbstractCollection<V>public int dimension()
public boolean isNeighbor(Simplex<V> simplex)
simplex - the other Simplexpublic List<Set<V>> facets()
public static <V> Set<Set<V>> boundary(Set<? extends Simplex<V>> simplexSet)
public int size()
size in interface Collection<V>size in interface Set<V>size in class AbstractCollection<V>public int hashCode()
hashCode in interface Collection<V>hashCode in interface Set<V>hashCode in class AbstractSet<V>public boolean equals(Object o)
equals in interface Collection<V>equals in interface Set<V>equals in class AbstractSet<V>Copyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.