This enum is used to determine what should be done with "ties". For example
if in the given time interval some attribute has got 3 different values we
should know how to estimate its value.
|
AVERAGE |
MEDIAN |
MODE |
SUM |
MIN |
MAX |
FIRST |
LAST |
Real numbers |
arithmetic mean |
the value separating the higher half from the lower half (if there is
an even number of values, the median is then defined to be the mean of
the two middle values) |
the value that occurs the most frequently |
the result of addition of all values |
the lowest value |
the highest value |
the value which occured firstly |
the value which occured lastly |
Integers |
arithmetic mean - using integer division |
the value separating the higher half from the lower half (if there is
an even number of values, the median is then defined to be the mean of
the two middle values - using integer division) |
the value that occurs the most frequently |
the result of addition of all values |
the lowest value |
the highest value |
the value which occured firstly |
the value which occured lastly |
Boolean |
- |
the bool separating the higher half from the lower half (if there is
an even number of bools, the median is then defined to be the bool
which occured earlier than the second middle bool) |
the bool that occurs the most frequently |
- |
false if exists in a given set of bools, otherwise true |
true if exists in a given set of bools, otherwise false |
the bool which occured firstly |
the bool which occured lastly |
Character |
- |
the character separating the higher half from the lower half (if there
is an even number of characters, the median is then defined to be the
character which occured earlier than the second middle character) |
the character that occurs the most frequently |
- |
the lowest character (with the lowest int value) |
the highest character (with the highest int value) |
the character which occured firstly |
the character which occured lastly |
String |
- |
the string separating the higher half from the lower half (if there
is an even number of strings, the median is then defined to be the
string which occured earlier than the second middle string) |
the string that occurs the most frequently |
- |
the lowest string (using compareTo method) |
the highest string (using compareTo method) |
the string which occured firstly |
the string which occured lastly |
TimeInterval |
- |
the time interval separating the higher half from the lower half (if
there is an even number of time intervals, the median is then defined
to be the time interval which occured earlier than the second middle
time interval) |
the time interval that occurs the most frequently |
- |
- |
- |
the time interval which occured firstly |
the time interval which occured lastly |