public class SupportOperators
extends java.lang.Object
Constructor and Description |
---|
SupportOperators() |
Modifier and Type | Method and Description |
---|---|
static int |
allType(org.nlogo.api.LogoList l)
Checks the type of all the fuzzy sets.
|
static java.lang.String |
buildLabel(org.nlogo.api.LogoList l,
java.lang.String operation)
Build the label of the operation sets.
|
static Tuple<FuzzySet> |
continuousParamsUniverse(org.nlogo.api.LogoList l)
Calculate the parameters and the universe of continuous sets.
|
static Tuple<double[]> |
discreteOperations(org.nlogo.api.LogoList l,
Command operator)
Calculate the parameters and the universe of discrete operations.
|
static java.util.List<double[]> |
discretePairOperation(java.util.List<double[]> a,
java.util.List<double[]> b,
Command operator)
Calculate the parameters of two discrete fuzzysets.
|
public static Tuple<FuzzySet> continuousParamsUniverse(org.nlogo.api.LogoList l)
l
- Logolist containing all the fuzzysets.public static int allType(org.nlogo.api.LogoList l)
l
- The list where the fuzzy sets are.public static Tuple<double[]> discreteOperations(org.nlogo.api.LogoList l, Command operator)
l
- the list where the sets are.operator
- The operation to perform.public static java.util.List<double[]> discretePairOperation(java.util.List<double[]> a, java.util.List<double[]> b, Command operator)
a
- The parameters of the first fuzzy set.b
- The parameters of the second fuzzy set.operator
- The operation to perform.public static java.lang.String buildLabel(org.nlogo.api.LogoList l, java.lang.String operation)
l
- The list with the fuzzy sets.operation
- The string to concatenate the set's label.