FastAlphaTriangulationException

org.appliedtopology.tda4j.homology.FastAlphaTriangulationException
class FastAlphaTriangulationException(message: String) extends RuntimeException

Thrown by FastAlphaHomologyContext when HelixDelaunay's own triangulation does not satisfy the "every facet has 1 or 2 containing top simplices" precondition this engine's dual graph needs (see the class doc's own "new finding" section) -- a real but rare (~1-in-18700 measured, ambient dimension 2) HelixDelaunay limitation, not a sign the input is malformed or that its persistent homology is somehow uncomputable. Deliberately a distinct, named, RuntimeException subtype -- not a bare IllegalStateException -- so a caller (MATLAB/CLI included, where it crosses the bridge the same way NoIntegerCocycleException already does) can catch and handle it specifically, and so its own message can afford to explain the situation in plain language rather than only in this engine's own internal vocabulary (top-cell ids, facet counts).

Attributes

Experimental
true
Graph
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

final def addSuppressed(x$0: Throwable): Unit

Attributes

Inherited from:
Throwable
def fillInStackTrace(): Throwable

Attributes

Inherited from:
Throwable
def getCause(): Throwable

Attributes

Inherited from:
Throwable
def getLocalizedMessage(): String

Attributes

Inherited from:
Throwable
def getMessage(): String

Attributes

Inherited from:
Throwable
def getStackTrace(): Array[StackTraceElement]

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable
def initCause(x$0: Throwable): Throwable

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintWriter): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintStream): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(): Unit

Attributes

Inherited from:
Throwable
def setStackTrace(x$0: Array[StackTraceElement]): Unit

Attributes

Inherited from:
Throwable
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Throwable