edu.stanford.math.plex
public static class PersistenceBasisInterval.Int extends PersistenceBasisInterval
PersistenceBasisInterval.Float, PersistenceBasisInterval.Int
Modifier and Type | Field and Description |
---|---|
Chain |
basisElement |
int |
end |
static int |
MAX_END |
int |
start |
dimension
Modifier | Constructor and Description |
---|---|
protected |
PersistenceBasisInterval.Int() |
|
PersistenceBasisInterval.Int(Chain basisElement,
int start) |
|
PersistenceBasisInterval.Int(Chain basisElement,
int start,
int end) |
Modifier and Type | Method and Description |
---|---|
Chain |
basis()
Retrieves the basis element of an interval.
|
int |
compareTo(PersistenceBasisInterval p)
Implements Comparable interface.
|
boolean |
equals(java.lang.Object obj)
Are two persistence intervals equivalent.
|
int |
hashCode()
Overrides Object hashcode.
|
boolean |
infiniteExtent()
Is this PersistenceBasisInterval semi-infinite in extent?
|
double[] |
toDouble()
Represent a PersistenceBasisInterval.Int as a double[].
|
PersistenceInterval |
toPersistenceInterval()
Conversion to PersistenceInterval
|
java.lang.String |
toString()
Represent a PersistenceBasisInterval.Int as a String.
|
public static int MAX_END
public final int start
public final int end
public final Chain basisElement
protected PersistenceBasisInterval.Int()
public PersistenceBasisInterval.Int(Chain basisElement, int start, int end)
public PersistenceBasisInterval.Int(Chain basisElement, int start)
public boolean infiniteExtent()
infiniteExtent
in class PersistenceBasisInterval
public java.lang.String toString()
toString
in class PersistenceBasisInterval
public PersistenceInterval toPersistenceInterval()
PersistenceBasisInterval
toPersistenceInterval
in class PersistenceBasisInterval
public double[] toDouble()
toDouble
in class PersistenceBasisInterval
public Chain basis()
basis
in class PersistenceBasisInterval
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- object to compare.public int compareTo(PersistenceBasisInterval p)
p
- PersistenceBasisInterval to compare.