jaga.pj.circuits.experiment
Interface SequentialCircuitExperiment

All Superinterfaces:
Experiment, java.io.Serializable
All Known Subinterfaces:
ConfigurableSequentialCircuitExperiment

public interface SequentialCircuitExperiment
extends Experiment


Method Summary
 int[] getStateEnterPos()
           
 MealyFSMNode[] getStateGraphNodes()
           
 int rndStatePos()
           
 
Methods inherited from interface jaga.experiment.Experiment
generateInput, generateInput, getFitness, getNumOfInputs, getNumOfOutputs
 

Method Detail

getStateEnterPos

public int[] getStateEnterPos()
Returns:
Array of positions in last test pattern generated of when the tested FSM - if perfect - would enter each state. So State N is entered at input data position rv[ N ]. The order of states is not important as long as rv[ i ] != rv[ j ] for i != j

getStateGraphNodes

public MealyFSMNode[] getStateGraphNodes()
Returns:
Array of Mealy Finite State Machine Nodes. The nth node in the array represents the state for which the nth int in the array returned by getStateEnterPos() represents the position in the TP at which this state is entered.

rndStatePos

public int rndStatePos()