public static final class Pool.Statistics extends StatisticsLogger.LoggableStatistics
Pool
.Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MEMORY
The default lookback memory
|
Modifier and Type | Method and Description |
---|---|
Pool.Statistics |
clone()
Clones the statistics
|
int[] |
getAvailability()
Returns the series of number of available individuals
|
double |
getAvailabilityAvg()
Returns the arithmetic mean of availability series
|
double |
getAvailabilityDev()
Returns the standard deviation of availability series
|
int |
getHorizon()
Returns the number of data points collected
|
int |
getMemory()
Returns the lookback memory
|
int[] |
getSize()
Returns the series of number of individuals held by the pool
|
double |
getSizeAvg()
Returns the arithmetic mean of size series
|
double |
getSizeDev()
Returns the standard deviation of size series
|
Pool |
getSubject()
Returns the pool statistics are referred to
|
long[] |
getTime()
Returns the time series at which statistics have been collected
|
void |
setMemory(int memory)
Sets the new lookback memory
|
void |
update()
Updates the statistics with the given pool
|
getFigures, getValue
public static final int DEFAULT_MEMORY
public Pool getSubject()
public Pool.Statistics clone()
clone
in class java.lang.Object
public final void update()
pool
- public int getMemory()
public void setMemory(int memory)
memory
- new lookback memorypublic int getHorizon()
public long[] getTime()
public int[] getSize()
public double getSizeAvg()
public double getSizeDev()
public int[] getAvailability()
public double getAvailabilityAvg()
public double getAvailabilityDev()