jaga.pj.circuits.fpgaft
Class LastAddedFaultModel

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

public class LastAddedFaultModel
extends ConnectedElementsFaultModel

Could add a memory loss variable to wipe out history now and then so it doesn't get filled..

See Also:
Serialized Form

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

Constructor Detail

LastAddedFaultModel

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

LastAddedFaultModel

public LastAddedFaultModel(SimulatorCircuit circuit,
                           int nrOuts,
                           int nrFaults)

LastAddedFaultModel

public LastAddedFaultModel(SimulatorCircuit circuit,
                           int nrOuts,
                           int nrFaults,
                           int faultTypes)
Method Detail

reset

public void reset()
Description copied from class: ConnectedElementsFaultModel
Resets the sequence of faults
Overrides:
reset in class ConnectedElementsFaultModel