public class JunctionCount extends Histogram
Histogram
,
Serialized FormHistogram.Extrema
INCREASE, isClassMaximumValid, isClassMinimumValid, parameters
Constructor and Description |
---|
JunctionCount() |
JunctionCount(double[] values,
double min,
double max)
Build the rainflow obejct using double values.
|
JunctionCount(float[] values,
double min,
double max)
Build the rainflow obejct using float values.
|
JunctionCount(int[] values,
double min,
double max)
Build the rainflow obejct using int values.
|
JunctionCount(long[] values,
double min,
double max)
Build the rainflow obejct using long values.
|
JunctionCount(short[] values,
double min,
double max)
Build the rainflow obejct using short values.
|
Modifier and Type | Method and Description |
---|---|
void |
calculate()
calculate the rainflow matrix.
|
protected void |
count(int[] arr)
Do the counting of the classified data.
|
int[][] |
getMatrix()
Get the histogram matrix.
|
static void |
main(java.lang.String[] args)
The main testing method.
|
java.lang.String |
toString() |
getClasses, getClasses, getClasses, getClasses, getClasses, getClassMaximum, getClassMinimum, getFilterWidthRelative, getMaximum, getMinimum, getNumberOfBins, getParameters, getUnit, setClassMaximum, setClassMinimum, setFilterWidthRelative, setMaximum, setMinimum, setNumberOfBins, setParameters, setUnit
public JunctionCount()
public JunctionCount(double[] values, double min, double max)
values
- the value.min
- the minimum of the values, if maximum and minimum is equal the method will determine it again.max
- the maximum of the values, if maximum and minimum is equal the method will determine it again.public JunctionCount(float[] values, double min, double max)
values
- the value.min
- the minimum of the values, if maximum and minimum is equal the method will determine it again.max
- the maximum of the values, if maximum and minimum is equal the method will determine it again.public JunctionCount(long[] values, double min, double max)
values
- the value.min
- the minimum of the values, if maximum and minimum is equal the method will determine it again.max
- the maximum of the values, if maximum and minimum is equal the method will determine it again.public JunctionCount(int[] values, double min, double max)
values
- the value.min
- the minimum of the values, if maximum and minimum is equal the method will determine it again.max
- the maximum of the values, if maximum and minimum is equal the method will determine it again.public JunctionCount(short[] values, double min, double max)
values
- the value.min
- the minimum of the values, if maximum and minimum is equal the method will determine it again.max
- the maximum of the values, if maximum and minimum is equal the method will determine it again.public void calculate()
protected void count(int[] arr)
arr
- the classified data.public int[][] getMatrix()
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)