State

gapt.proofs.context.State
See theState companion object
class State

The state of a context.

A context remembers both its history (what elements were added to it), as well as their effect: the current state (the values of the facets).

State is basically a Cartesian product of all possible facets, where all except finitely many facets still have their initial value. The get method returns the value of a facet, the update method changes the value.

Attributes

Companion
object
Source
State.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def get[T : Facet]: T

Attributes

Source
State.scala
def getAll[T : ClassTag]: Iterable[T]

Attributes

Source
State.scala
override 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.

Definition Classes
Any
Source
State.scala
def update[T : Facet](f: T => T): State

Attributes

Source
State.scala