Main Page | Modules | Alphabetical List | Compound List | File List | Compound Members | Related Pages

TuringMachineDefinition


Compounds

class  infinite_tape
 an auto-expanding wrapper for an std::list. More...

class  state
 Single state of turing machine. More...

class  turing_machine
 turing machine with an arbitrary (but small) alphabet. More...


Functions

template<typename T> std::ostream & operator<< (std::ostream &out, const infinite_tape< T > &to_print)
 function for use in displaying an infinite_tape object.

template<typename T> std::ostream & operator<< (std::ostream &out, const state< T > &to_print)
 displays a state set.


Function Documentation

template<typename T>
std::ostream& operator<< std::ostream &  out,
const state< T > &  to_print
 

displays a state set.

Precondition:
to_print is a valid state set
Postcondition:
to_print has been displayed according to the rules of the print member function and out has been returned
Author:
Kyle Ross

Definition at line 276 of file state.hpp.

template<typename T>
std::ostream& operator<< std::ostream &  out,
const infinite_tape< T > &  to_print
 

function for use in displaying an infinite_tape object.

Precondition:
only those enforced by the show member function of infinite_tape
Postcondition:
those of the show member function of infinite_tape; out is returned
Parameters:
out output stream to print to
to_print tape to print
Author:
Kyle Ross

Definition at line 1228 of file infinite_tape.hpp.


Generated on Thu Nov 20 00:17:34 2003 for BusyBeaver by doxygen 1.3.3