jaga.pj.circuits.fpgaft
Class ConnectedElementsFaultModel

java.lang.Object
  |
  +--jaga.pj.circuits.fpgaft.ConnectedElementsFaultModel
All Implemented Interfaces:
java.util.Enumeration, FaultModel, java.io.Serializable, SingleFaultModel
Direct Known Subclasses:
LastAddedFaultModel

public class ConnectedElementsFaultModel
extends java.lang.Object
implements SingleFaultModel

See Also:
Serialized Form

Constructor Summary
ConnectedElementsFaultModel(SimulatorCircuit circuit, int nrOuts)
          Creates new ConnectedElementsFaultModel
ConnectedElementsFaultModel(SimulatorCircuit circuit, int nrOuts, int faultTypes)
          Creates new ConnectedElementsFaultModel
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 void reset()
          Resets the sequence of faults
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectedElementsFaultModel

public ConnectedElementsFaultModel(SimulatorCircuit circuit,
                                   int nrOuts)
Creates new ConnectedElementsFaultModel

ConnectedElementsFaultModel

public ConnectedElementsFaultModel(SimulatorCircuit circuit,
                                   int nrOuts,
                                   int faultTypes)
Creates new ConnectedElementsFaultModel
Method Detail

reset

public void reset()
Resets the sequence of faults
Specified by:
reset in interface FaultModel

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object