ca.nengo.model.impl
Class NoiseFactory.NoiseImplNull

java.lang.Object
  extended by ca.nengo.model.impl.NoiseFactory.NoiseImplNull
All Implemented Interfaces:
Noise, Resettable, java.io.Serializable, java.lang.Cloneable
Enclosing class:
NoiseFactory

public static class NoiseFactory.NoiseImplNull
extends java.lang.Object
implements Noise

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface ca.nengo.model.Noise
Noise.Noisy
 
Field Summary
 
Fields inherited from interface ca.nengo.model.Noise
DIMENSION_PROPERTY
 
Constructor Summary
NoiseFactory.NoiseImplNull()
           
 
Method Summary
 Noise clone()
           
 float getValue(float startTime, float endTime, float input)
           
 void reset(boolean randomize)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoiseFactory.NoiseImplNull

public NoiseFactory.NoiseImplNull()
Method Detail

getValue

public float getValue(float startTime,
                      float endTime,
                      float input)
Specified by:
getValue in interface Noise
Parameters:
startTime - Simulation time at which step starts
endTime - Simulation time at which step ends
input - Value which is to be corrupted by noise
Returns:
The noisy values (inputs corrupted by noise)
See Also:
Noise.getValue(float, float, float)

clone

public Noise clone()
Specified by:
clone in interface Noise
Overrides:
clone in class java.lang.Object

reset

public void reset(boolean randomize)
Specified by:
reset in interface Resettable
Parameters:
randomize - True indicates that the object should be reset to a randomly selected initial state (the object must be aware of the distribution from which to draw from). False indicates that the object should be reset to a fixed initial state (which it must also know). Some objects may not support randomization of the initial state, in which case a fixed state will be used in either case.
See Also:
Resettable.reset(boolean)