public class RangePairCount extends Histogram
original text:
Das Spannenpaarverfahren
Es werden von Talwerten aufwärts positive Spannen und von Gipfelwerten abwärts negative Spannen erfasst.
Eine Zählung wird aber erst dann vorgenommen, wenn zu einer positiven Spanne acuh eine gleich grosse negative Spanne,
also Spannenpaar, aufgetreten ist. Eine kleinere Spanne kann mehermals gezählt werden, bevor die Zählung einer
grösseren Spanne ausglöst wird.
RangeCount
,
Serialized FormHistogram.Extrema
INCREASE, isClassMaximumValid, isClassMinimumValid, parameters
Constructor and Description |
---|
RangePairCount() |
RangePairCount(double[] values,
double min,
double max)
Build the rainflow obejct using double values.
|
RangePairCount(float[] values,
double min,
double max)
Build the rainflow obejct using float values.
|
RangePairCount(int[] values,
double min,
double max)
Build the rainflow obejct using int values.
|
RangePairCount(long[] values,
double min,
double max)
Build the rainflow obejct using long values.
|
RangePairCount(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 RangePairCount()
public RangePairCount(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 RangePairCount(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 RangePairCount(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 RangePairCount(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 RangePairCount(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)