Temporal.Statistic.numMatchOverLast()
Signature
int numMatchOverLast(PropertyAtom pa, Object matchValue, int last_n_times)
Domain
ACTION, CONDITION, QUERY, BUI
Description
This method counts the number of object which matches a specified value over the last n history entries.
Parameters
Name | Type | Description |
pa | PropertyAtom | The target property. |
matchValue | Object | The object whose value is to be matched. |
last_n_times | int | The number of last history entry to match. |
Returns
Type | Description |
int | Number of history value which match the specified value. |