sims
Interface GrapheInterface

All Known Implementing Classes:
MachineRead, Programme, TuringMachine

public interface GrapheInterface


Method Summary
 java.util.Collection arcs()
          Main method needed to build the graph, describes the links between vertices.
 int getNbrArc()
          Gives the number of edges in the graph, equals to the number of instructions of a Turing Machine.
 int getNbrEtat()
          Gives the number of states of the machine, hence the number of vertices in the graph.
 java.lang.Object getRacine()
          Gives the root state of a machine, the start vertex in the graph.
 

Method Detail

arcs

java.util.Collection arcs()
Main method needed to build the graph, describes the links between vertices.

Returns:
a collection of Arc instances
See Also:
Arc.java

getNbrEtat

int getNbrEtat()
Gives the number of states of the machine, hence the number of vertices in the graph.

Returns:
the number of states of the machine.

getNbrArc

int getNbrArc()
Gives the number of edges in the graph, equals to the number of instructions of a Turing Machine.

Returns:
the number of edges..

getRacine

java.lang.Object getRacine()
Gives the root state of a machine, the start vertex in the graph.

Returns:
the root state.