public class GenT2zMF_Discretized extends GenT2zMF_Prototype
isLeftShoulder, isRightShoulder, name, numberOfzLevels, slices_fs, slices_zValues, support, z_stepSize, zSlices
Constructor and Description |
---|
GenT2zMF_Discretized(GenT2zMF_Interface gt2set,
int primaryDiscretizationLevel)
Creates a new instance of GenT2zMF_Discretized
|
GenT2zMF_Discretized(GenT2zMF_Interface gt2set,
int primaryDiscretizationLevel,
int secondaryDiscretizationLevel)
Creates a new instance of GenT2Discretized by setting up a new two-dimensional array using the dimensions provided
and "filling" with a discretized version of the set provided.
|
Modifier and Type | Method and Description |
---|---|
double |
getDiscX(int xPointer)
Returns discretization value at the specified level on the x Axis.
|
double |
getDiscY(int yPointer)
Returns discretization value at the specified level on the y Axis.
|
int |
getPrimaryDiscretizationLevel() |
double[] |
getPrimaryDiscretizationValues() |
int |
getSecondaryDiscretizationLevel() |
double[] |
getSecondaryDiscretizationValues() |
double |
getSetDataAt(int xPointer,
int yPointer)
Returns third dimension membership for given array coordinates.
|
getCentroid, getFS, getFSWeightedAverage, getName, getNumberOfSlices, getPeak, getSupport, getZSlice, getZValue, getZValues, isLeftShoulder, isRightShoulder, setLeftShoulder, setName, setRightShoulder, setSupport, setZSlice, toString
public GenT2zMF_Discretized(GenT2zMF_Interface gt2set, int primaryDiscretizationLevel)
public GenT2zMF_Discretized(GenT2zMF_Interface gt2set, int primaryDiscretizationLevel, int secondaryDiscretizationLevel)
primaryDiscretizationLevel
- The level/number of discretisations performed on the primary/x axis.secondaryDiscretizationLevel
- The level/number of discretisations performed on the secondary/y axis.public int getPrimaryDiscretizationLevel()
public double getSetDataAt(int xPointer, int yPointer)
xPointer
- Points to the position in the array along the x axis.yPointer
- Points to the position in the array along the y axis.public double getDiscX(int xPointer)
xPointer
- Determines which x discretization value is returned (From 0 to N).public double getDiscY(int yPointer)
yPointer
- Determines which y discretization value is returned (From 0 to N).public int getSecondaryDiscretizationLevel()
public double[] getPrimaryDiscretizationValues()
public double[] getSecondaryDiscretizationValues()