public class TimeAtLevelCount extends Histogram
original text:
Das Verweildauerverfahren
Es wird die Summe der Zeiten ti, die die Schwingung innerhalb der
Grenzen der einzlenen Klassen verbringt, für jede Klasse getrennt ermittelt.
Das Verweildauerverfahren kann auch als STichprobenverfahren mit sehr kurzer
Abfragefolge angesehen werden.
Histogram
,
Serialized FormHistogram.Extrema
INCREASE, isClassMaximumValid, isClassMinimumValid, parameters
Constructor and Description |
---|
TimeAtLevelCount() |
TimeAtLevelCount(double[] values,
double min,
double max)
Build the rainflow obejct using double values.
|
TimeAtLevelCount(float[] values,
double min,
double max)
Build the rainflow obejct using float values.
|
TimeAtLevelCount(int[] values,
double min,
double max)
Build the rainflow obejct using int values.
|
TimeAtLevelCount(long[] values,
double min,
double max)
Build the rainflow obejct using long values.
|
TimeAtLevelCount(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(short[] arr)
Do the counting of the classified data.
|
protected void |
count(short[] arr,
double[] time)
Do the counting of the classified data.
|
protected void |
count(short[] arr,
float[] time)
Do the counting of the classified data.
|
protected void |
count(short[] arr,
int[] time)
Do the counting of the classified data.
|
protected void |
count(short[] arr,
long[] time)
Do the counting of the classified data.
|
protected void |
count(short[] arr,
short[] time)
Do the counting of the classified data.
|
double |
getDeltaTime()
Get the delta time.
|
double[] |
getMatrix()
Get the histogram matrix.
|
static void |
main(java.lang.String[] args)
The main testing method.
|
void |
setDeltaTime(double deltaTime)
Set a constant delta time.
|
void |
setTime(double[] time)
Set the time as double values.
|
void |
setTime(float[] time)
Set the time as float values.
|
void |
setTime(int[] time)
Set the time as int values.
|
void |
setTime(long[] time)
Set the time as long values.
|
void |
setTime(short[] time)
Set the time as short values.
|
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 TimeAtLevelCount()
public TimeAtLevelCount(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.deltaTime
- the the constant tim einterval.public TimeAtLevelCount(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.deltaTime
- the the constant tim einterval.public TimeAtLevelCount(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.deltaTime
- the the constant tim einterval.public TimeAtLevelCount(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.deltaTime
- the the constant tim einterval.public TimeAtLevelCount(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.deltaTime
- the the constant tim einterval.public void setDeltaTime(double deltaTime)
deltaTime
- the the constant tim einterval.public double getDeltaTime()
public void setTime(float[] time)
time
- the time vector.public void setTime(double[] time)
time
- the time vector.public void setTime(int[] time)
time
- the time vector.public void setTime(short[] time)
time
- the time vector.public void setTime(long[] time)
time
- the time vector.public void calculate()
protected void count(short[] arr)
arr
- the classified data.protected void count(short[] arr, double[] time)
arr
- the classified data.time
- the time as double array.protected void count(short[] arr, float[] time)
arr
- the classified data.time
- the time as float array.protected void count(short[] arr, long[] time)
arr
- the classified data.time
- the time as long array.protected void count(short[] arr, int[] time)
arr
- the classified data.time
- the time as int array.protected void count(short[] arr, short[] time)
arr
- the classified data.time
- the time as short array.public double[] getMatrix()
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)