edu.stanford.math.plex
public static class PersistenceBasisInterval.Float extends PersistenceBasisInterval
PersistenceBasisInterval.Float, PersistenceBasisInterval.Int
Modifier and Type | Field and Description |
---|---|
Chain |
basisElement |
double |
end |
static double |
MAX_END |
double |
start |
dimension
Modifier | Constructor and Description |
---|---|
protected |
PersistenceBasisInterval.Float() |
|
PersistenceBasisInterval.Float(Chain basisElement,
double start) |
|
PersistenceBasisInterval.Float(Chain basisElement,
double start,
double 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.Float as a String.
|
public static double MAX_END
public final double start
public final double end
public final Chain basisElement
protected PersistenceBasisInterval.Float()
public PersistenceBasisInterval.Float(Chain basisElement, double start, double end)
public PersistenceBasisInterval.Float(Chain basisElement, double 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.