Temporal.History

Description

Temporal History Functions

Functions

NameSignature and Synopsis
alwaysDecreasingDoubleboolean alwaysDecreasingDouble(PropertyAtomDouble pad, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property always decrease over a given time interval [stime, etime]. Returns true only if each sample value is less than the immediately prior sample value in the given time interval. All the times are in milliseconds.
alwaysDecreasingIntboolean alwaysDecreasingInt(PropertyAtomInt pai, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property always decrease over a given time interval [stime, etime]. Returns true only if each sample value is less than the immediately prior sample value in the given time interval. All the times are in milliseconds.
alwaysDecreasingLongboolean alwaysDecreasingLong(PropertyAtomLong pal, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property always decrease over a given time interval [stime, etime]. Returns true only if each sample value is less than the immediately prior sample value in the given time interval. All the times are in milliseconds.
alwaysIncreasingDoubleboolean alwaysIncreasingDouble(PropertyAtomDouble pad, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property always increase over a given time interval [stime, etime]. Returns true only if each sample value is greater than the immediately prior sample value in the given time interval. All the times are in milliseconds.
alwaysIncreasingIntboolean alwaysIncreasingInt(PropertyAtomInt pai, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property always increase over a given time interval [stime, etime]. Returns true only if each sample value is greater than the immediately prior sample value in the given time interval. All the times are in milliseconds.
alwaysIncreasingLongboolean alwaysIncreasingLong(PropertyAtomLong pal, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property always increase over a given time interval [stime, etime]. Returns true only if each sample value is greater than the immediately prior sample value in the given time interval. All the times are in milliseconds.
everDecreasingDoubleboolean everDecreasingDouble(PropertyAtomDouble pad, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property ever decrease over a given time interval [stime, etime]. Returns true only if any sample value is less than any prior sample value in the given time interval. All the times are in milliseconds.
everDecreasingIntboolean everDecreasingInt(PropertyAtomInt pai, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property ever decrease over a given time interval [stime, etime]. Returns true only if any sample value is less than any prior sample value in the given time interval. All the times are in milliseconds.
everDecreasingLongboolean everDecreasingLong(PropertyAtomLong pal, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property ever decrease over a given time interval [stime, etime]. Returns true only if any sample value is less than any prior sample value in the given time interval. All the times are in milliseconds.
everIncreasingDoubleboolean everIncreasingDouble(PropertyAtomDouble pad, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property ever increase over a given time interval [stime, etime]. Returns true only if any sample value is greater than any prior sample value in the given time interval. All the times are in milliseconds.
everIncreasingIntboolean everIncreasingInt(PropertyAtomInt pai, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property ever increase over a given time interval [stime, etime]. Returns true only if any sample value is greater than any prior sample value in the given time interval. All the times are in milliseconds.
everIncreasingLongboolean everIncreasingLong(PropertyAtomLong pal, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property ever increase over a given time interval [stime, etime]. Returns true only if any sample value is greater than any prior sample value in the given time interval. All the times are in milliseconds.
historyObject history(PropertyAtom pad, long no_of_milli_seconds_ago)
This method returns PropertyAtom value a given number of milli seconds ago.
historyDoubledouble historyDouble(PropertyAtomDouble pad, long no_of_milli_seconds_ago)
This method returns PropertyAtomDouble value a given number of milli seconds ago.
historyIntdouble historyInt(PropertyAtomInt pai, long no_of_milli_seconds_ago)
This method returns PropertyAtomInt value a given number of milli seconds ago.
historyLongdouble historyLong(PropertyAtomLong pal, long no_of_milli_seconds_ago)
This method returns PropertyAtomLong value a given number of milli seconds ago.
howCurrentlong howCurrent(PropertyAtom pa)
This method returns how old is the newest value in the PropertyAtom history.
howManyint howMany(PropertyAtom pa, long stime, long etime, boolean bound_by_stime)
This method returns how many values exist in interval [stime, etime].
howManyInLastint howManyInLast(PropertyAtom pa, long num_msec_ago)
This method returns how many history values exist for a property in last number of msec ago .
howManySinceint howManySince(PropertyAtom pa, long time)
This method returns how many history values exist for given property since the specified time.
howOldlong howOld(PropertyAtom pa)
This method returns how old is the oldest value in the PropertyAtom history.
previousObject previous(PropertyAtom pad)
This method returns the previous value of a PropertyAtom.
previousDoubledouble previousDouble(PropertyAtomDouble pad)
This method returns the previous value of PropertyAtomInt.
previousIntint previousInt(PropertyAtomInt pai)
This method returns the previous value of PropertyAtomInt.
previousLonglong previousLong(PropertyAtomLong pal)
This method returns the previous value of PropertyAtomInt.
steadyDoubleboolean steadyDouble(PropertyAtomDouble pad, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property value remain steady over a given time interval[stime, etime], all the times are in (milliseconds).
steadyIntboolean steadyInt(PropertyAtomInt pai, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property value remain steady over a given time interval[stime, etime], all the times are in (milliseconds).
steadyLongboolean steadyLong(PropertyAtomLong pal, long stime, long etime, int sample_interval, boolean bound_by_stime)
This method checks if samples of the property value remain steady over a given time interval[stime, etime], all the times are in (milliseconds).