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, verify
protected 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()
SimplexStream
hasNext
in interface java.util.Iterator<Simplex>
hasNext
in class SimplexStream
public Simplex next()
SimplexStream
next
in interface java.util.Iterator<Simplex>
next
in class SimplexStream
public int size()
SimplexStream
size
in class SimplexStream
public int maxDimension()
SimplexStream
maxDimension
in class SimplexStream
public java.util.Iterator<Simplex> iterator()