Automata  1.0
Public Member Functions | Static Public Attributes | Properties | List of all members
System.Automata.State Class Reference

A automaton state. More...

Public Member Functions

 State (string name)
 
Parameters
nameThe name of the state

 
 State (int id)
 
override string ToString ()
 
override bool Equals (object obj)
 
bool Equals (State s)
 
override int GetHashCode ()
 

Static Public Attributes

static readonly State Hr = new State("Hr") { Accepting = true}
 The Turing halting accept state. More...
 
static readonly State Ha = new State("Ha")
 The Turing halting reject state. More...
 

Properties

string Name [get]
 The name of the state More...
 
bool Accepting [get, set]
 Is the state an accepting state? More...
 

Detailed Description

A automaton state.

Member Data Documentation

◆ Ha

readonly State System.Automata.State.Ha = new State("Ha")
static

The Turing halting reject state.

◆ Hr

readonly State System.Automata.State.Hr = new State("Hr") { Accepting = true}
static

The Turing halting accept state.

Property Documentation

◆ Accepting

bool System.Automata.State.Accepting
getset

Is the state an accepting state?

◆ Name

string System.Automata.State.Name
get

The name of the state


The documentation for this class was generated from the following file: