public class MinAnd
extends org.nlogo.api.DefaultReporter
Modifier and Type | Class and Description |
---|---|
class |
MinAnd.Min
Inner class that implements the command to perform in min operations.
|
Constructor and Description |
---|
MinAnd() |
Modifier and Type | Method and Description |
---|---|
org.nlogo.api.Syntax |
getSyntax()
This method tells Netlogo the appropriate syntax of the primitive.
|
private FuzzySet |
minContinuous(org.nlogo.api.LogoList l)
Calculate the min of two or more continuous sets.
|
private FuzzySet |
minDiscrete(org.nlogo.api.LogoList l)
Calculate the min of two or more discrete sets.
|
FuzzySet |
minPiecewise(org.nlogo.api.LogoList l)
Calculate the min of two or more piecewise sets.
|
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 list.arg1
- Context of Netlogo when the call was done.org.nlogo.api.ExtensionException
org.nlogo.api.LogoException
private FuzzySet minDiscrete(org.nlogo.api.LogoList l)
l
- The list with the fuzzy sets.public FuzzySet minPiecewise(org.nlogo.api.LogoList l)
l
- The list with the fuzzy sets.private FuzzySet minContinuous(org.nlogo.api.LogoList l)
l
- The list with the fuzzy sets.