edu.stanford.math.plex
public class Cone extends SimplexStream
SimplexStream.ComparisonType, SimplexStream.Head, SimplexStream.Stack, SimplexStream.Tail| Modifier and Type | Field and Description |
|---|---|
protected int |
conepoint |
protected boolean |
coning |
protected int |
findexOffset |
protected java.util.Iterator<Simplex> |
ssiterator |
protected SimplexStream |
sstream |
protected java.util.HashMap<java.lang.Integer,java.lang.Boolean> |
support |
| Constructor and Description |
|---|
Cone(SimplexStream sstr)
Creates a new cone from an existing SimplexStream.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Is there a next Simplex in the stream?
|
java.util.Iterator<Simplex> |
iterator() |
int |
maxDimension()
Max dimension of simplices in the stream.
|
Simplex |
next()
Next Simplex in the stream.
|
int |
size()
How many simplices are in the stream?
|
convert_filtration_index, convertInterval, convertInterval, remove, verifyprotected SimplexStream sstream
protected boolean coning
protected int conepoint
protected java.util.Iterator<Simplex> ssiterator
protected java.util.HashMap<java.lang.Integer,java.lang.Boolean> support
protected int findexOffset
public Cone(SimplexStream sstr)
sstr - Simplex Stream to be coned.public boolean hasNext()
SimplexStreamhasNext in interface java.util.Iterator<Simplex>hasNext in class SimplexStreampublic Simplex next()
SimplexStreamnext in interface java.util.Iterator<Simplex>next in class SimplexStreampublic int size()
SimplexStreamsize in class SimplexStreampublic int maxDimension()
SimplexStreammaxDimension in class SimplexStreampublic java.util.Iterator<Simplex> iterator()