Transition

com.phasmidsoftware.gambit.game.Transition
trait Transition[P, S] extends S => (P, S)

A function that transitions from a state S to a prototype state.

Type parameters

P

a proto-state, from which a state S can be constructed.

S

the type of the input.

Attributes

Graph
Supertypes
trait S => (P, S)
class Object
trait Matchable
class Any
Known subtypes
class Move[P, S]

Members list

Value members

Inherited methods

def andThen[A](g: (P, S) => A): S => A

Attributes

Inherited from:
Function1
def compose[A](g: A => S): A => (P, S)

Attributes

Inherited from:
Function1
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
Function1 -> Any
Inherited from:
Function1

Inherited and Abstract methods

def apply(v1: S): (P, S)

Attributes

Inherited from:
Function1