TheSimulationResult
object, provides the following observables (usualy defined as val result=zombieInvasion(...)
in the ScalaTask)
Some of the observable are time series. In this case, observable can be aggregated via a temporal step.
The by : Int = 20
notations stand for the temporal step parameter by default. All time-serie indicators take such a by
parameter, which samples the original 500 steps time-serie by this fixed step width (for convenience and size of output data).
Observables are:
humansDynamic(by: Int = 20): Array[Int]
sampled time serie (eachby
time steps) of number of humanswalkingHumansDynamic(by: Int = 20): Array[Int]
sampled time serie of number of walking humansrunningHumansDynamic(by: Int = 20): Array[Int]
sampled time serie of number of running humanszombiesDynamic(by: Int = 20): Array[Int]
sampled time serie of number of zombieswalkingZombiesDynamic(by: Int = 20): Array[Int]
sampled time serie of number of walking zombiesrunningZombiesDynamic(by: Int = 20): Array[Int]
sampled time serie of number of running zombies
def rescuedDynamic(by: Int = 20): Array[Int]
sampled time serie of number of rescued humans.def killedDynamic(by: Int = 20): Array[Int]
sampled time serie of killed zombiesdef zombifiedDynamic(by: Int = 20): Array[Int]
sampled time serie of number of zombified humansdef fleeDynamic(by: Int = 20): Array[Int]
sampled time serie of number of humans fleeing from zombiesdef pursueDynamic(by: Int = 20): Array[Int]
sampled time serie of number of zombies pursuing humansdef humansGoneDynamic(by: Int = 20): Array[Int]
sampled time serie of number of humans who went out of the worlddef zombiesGoneDynamic(by: Int = 20): Array[Int])
sampled time serie of number of zombies who went out of the world
totalZombified: Int
total number of zombified humans over the course of the simulationhalfZombified: Int
time at which half of humans are zombifiedpeakTimeZombified(window: Int = 20): Int
time at which the zombification is the most intense (computed by smoothing the time serie with a moving average on a window of sizewindow
, and taking the mode of the smoothed time serie)peakSizeZombified(window: Int = 20): Int
number of zombification when zombification is the most intense (smoothed over awindow
size window )totalRescued: Int
total number of humans rescuedhalfTimeRescued: Int
time at which half of the humans have been rescuedpeakTimeRescued(window: Int = 20): Int
time at which rescue is the most intense (smoothed over awindow
size window )peakSizeRescued(window: Int = 20): Int
number of rescue at the time ofpeakTimeRescued
-
spatialMoranZombified: Double
spatial autocorrelation of the location of zombification events cumulated over time. Take values between -1 (strongest negative autocorrelation) 0 (no spatial autocorrelation) and 1 (strongest autocorrelation) -
spatialDistanceMeanZombified: Double
average distance between zombification events -
spatialEntropyZombified: Double
entropy of zombification events, or how zombification is uniformally distributed across cells ($\in [0;1]$ ) -
spatialSlopeZombified: Double
level of aggregation of zombification events, can be interpreted as "clustring" intensity.