public class Not
extends org.nlogo.api.DefaultReporter
Constructor and Description |
---|
Not() |
Modifier and Type | Method and Description |
---|---|
org.nlogo.api.Syntax |
getSyntax()
This method tells Netlogo the appropriate syntax of the primitive.
|
private FuzzySet |
notContinuous(FuzzySet f)
Calculate the logical not of a continuous set.
|
private FuzzySet |
notDiscrete(PointSet f)
Calculate the logical not of a discrete set.
|
private FuzzySet |
notPiecewise(PointSet f)
Calculate the logical not of a piecewise set.
|
java.lang.Object |
report(org.nlogo.api.Argument[] arg0,
org.nlogo.api.Context arg1)
This method respond to the call from Netlogo and returns the set.
|
public org.nlogo.api.Syntax getSyntax()
getSyntax
in interface org.nlogo.api.Primitive
getSyntax
in class org.nlogo.api.DefaultReporter
public java.lang.Object report(org.nlogo.api.Argument[] arg0, org.nlogo.api.Context arg1) throws org.nlogo.api.ExtensionException, org.nlogo.api.LogoException
arg0
- Arguments from Netlogo call, in this case a fuzzy set.arg1
- Context of Netlogo when the call was done.org.nlogo.api.ExtensionException
org.nlogo.api.LogoException
private FuzzySet notDiscrete(PointSet f)
f
- The discrete set.private FuzzySet notPiecewise(PointSet f)
f
- The piecewise linear set.