Temporal.Numeric

Description

Numeric Temporal Functions

Functions

NameSignature and Synopsis
addAllHistoryDoubledouble addAllHistoryDouble(PropertyAtomDouble pad, long t)
This method returns the sum of all the values in the history of a property atom.
addAllHistoryIntint addAllHistoryInt(PropertyAtomInt pai, long t)
This method returns the sum of all the values in the history of a property atom.
addAllHistoryLonglong addAllHistoryLong(PropertyAtomLong pal, long t)
This method returns the sum of all the values in the history of a property atom.
avgOfLastObject avgOfLast(PropertyAtom pa, int last_n_times)
This method calculates the average of the value of the last n history entries.
avgSinceObject avgSince(PropertyAtom pa, long time)
This method calculates the average history value since the specified time.
interpolateDoubledouble interpolateDouble(PropertyAtomDouble pad, long no_of_milli_seconds_ago)
This method returns interpolated value over the history a given number of msec ago.
interpolateIntdouble interpolateInt(PropertyAtomInt pai, long no_of_milli_seconds_ago)
This method returns interpolated value over the history a given number of msec ago.
interpolateLongdouble interpolateLong(PropertyAtomLong pal, long no_of_milli_seconds_ago)
This method returns interpolated value over the history a given number of msec ago.
maxOfLastObject maxOfLast(PropertyAtom pa, int last_n_times)
This method returns the maximum value of the last n history entries.
maxSinceObject maxSince(PropertyAtom pa, long time)
This method returns the maximum history value since the specified time.
minOfLastObject minOfLast(PropertyAtom pa, int last_n_times)
This method returns the minimum value of the last n history entries.
minSinceObject minSince(PropertyAtom pa, long time)
This method returns the minimum history value since the specified time.
totalOfLastObject totalOfLast(PropertyAtom pa, int last_n_times)
This method calculates the sum of the value of the last n history entries.
totalSinceObject totalSince(PropertyAtom pa, long time)
This method calculates the sum of the history value since the specified time.