Package ch.epfl.cs107.play.signal.logic
Class Not
java.lang.Object
ch.epfl.cs107.play.signal.logic.LogicGate
ch.epfl.cs107.play.signal.logic.Not
Implementation of a Logical Not gate
-
Constructor Details
-
Not
Default constructor of logical not- Parameters:
signal- (Logic): signal to revert. Not null
-
-
Method Details
-
getIntensity
public float getIntensity()- Returns:
- (float) : the signal intensity, usually 0.0 or 1.0
-