SequentIndex

gapt.proofs.SequentIndex
See theSequentIndex companion object
sealed abstract class SequentIndex extends Ordered[SequentIndex]

Represents an index of an element in a sequent.

In a sequent, the elements have the following indices: Ant(0), Ant(1), ..., Ant(m) :- Suc(0), Suc(1), ..., Suc(n)

Attributes

Companion
object
Source
sequents.scala
Graph
Supertypes
trait Comparable[SequentIndex]
class Object
trait Matchable
class Any
Known subtypes
class Ant
class Suc

Members list

Value members

Abstract methods

def +(i: Int): SequentIndex

Increments the index by a natural number.

Increments the index by a natural number.

Attributes

Source
sequents.scala
def -(i: Int): SequentIndex

Decrements the index by a natural number.

Decrements the index by a natural number.

Attributes

Source
sequents.scala

Attributes

Source
sequents.scala
def toInt: Int

Injective conversion to integers.

Injective conversion to integers.

Attributes

Source
sequents.scala
def withinSizes(p: (Int, Int)): Boolean

Attributes

Source
sequents.scala

Concrete methods

def compare(that: SequentIndex): Int

Attributes

Source
sequents.scala
def isAnt: Boolean

Attributes

Source
sequents.scala
def isSuc: Boolean

Attributes

Source
sequents.scala

Attributes

Source
sequents.scala

Inherited methods

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered