edu.stanford.math.plex
public abstract class PersistenceBasisInterval extends java.lang.Object implements java.lang.Comparable<PersistenceBasisInterval>
PersistenceBasisInterval instances encode a dimension and a
duration (e.g., start and end times) as well as a basis element for each
interval. The integer start/end times are
used internally in the Persistence class, but these may be converted to
form that uses doubles for start/end.| Modifier and Type | Class and Description |
|---|---|
static class |
PersistenceBasisInterval.Float |
static class |
PersistenceBasisInterval.Int |
| Modifier and Type | Field and Description |
|---|---|
int |
dimension
The dimension of the PersistenceBasisInterval.
|
| Modifier | Constructor and Description |
|---|---|
protected |
PersistenceBasisInterval(int d) |
| Modifier and Type | Method and Description |
|---|---|
abstract Chain |
basis()
The basis representing the interval.
|
abstract boolean |
infiniteExtent()
Is this PersistenceBasisInterval semi-infinite in extent?
|
abstract double[] |
toDouble()
Return the start/endpoints as double[].
|
abstract PersistenceInterval |
toPersistenceInterval()
Conversion to PersistenceInterval
|
java.lang.String |
toString()
Represent a PersistenceBasisInterval as a String.
|
public abstract boolean infiniteExtent()
public abstract double[] toDouble()
public abstract Chain basis()
public abstract PersistenceInterval toPersistenceInterval()
public java.lang.String toString()
toString in class java.lang.Object