This page (revision-21) was last changed on 21-Oct-2017 12:32 by Albrecht Striffler

This page was created on 26-Oct-2012 10:15 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
21 21-Oct-2017 12:32 19 KB Albrecht Striffler to previous

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 2 changed one line
The functionalities described on this page are only available using a commercial extension. Please contact info@denkbares.com for more information.
The functionalities described on this page are only available using a commercial extension.
At line 5 added one line
Expressions allows to use mathematical formulas to be used in d3web knowledge bases. In every formula you may access existing questions and their values, as well as predefined constants. The results of those formulas may be used to assign it to an existing question or as a precondition in a rule.
At line 6 removed 2 lines
Expressions allow to use mathematical formulas to be used in d3web knowledge bases. In every formula you may access existing questions and their values, as well as predefined constants. The results of those formulas may be used to assign it to an existing question (e.g. in a rule action) or as a condition in a rule.
At line 18 removed one line
At line 25 changed one line
IF eval(gradient(measurement[-10s, 0s]) > 1)
IF eval( gradient( measurement[-10s,0s] ) > 1 )
At line 27 changed one line
%
/%
At line 35 changed 2 lines
THEN myGradient = eval(gradient(measurement[-10s, 0s]) )
%
THEN myGradient = eval( gradient( measurement[-10s,0s] ) )
/%
At line 55 removed one line
At line 67 changed one line
// using other constants is NOT ALLOWED!!! --> error signaled
// use other constants is NOT ALLOWED!!! --> error signaled
At line 71 removed one line
At line 77 removed one line
At line 83 removed one line
At line 112 removed one line
At line 115 removed one line
At line 141 removed one line
At line 162 removed one line
At line 173 removed one line
At line 177 changed 2 lines
* __<object-name>~[<time-point>, <time-point>~]__: \\ Returns the sub-history of the object with the name <object-name> starting from the earlier of the two time-points and lasting to the latter one. The sub-history contains all values of the object's full history that have been valid during the specified interval. This lead to that the sub-history usually starts before the specified time-points and have their latest value before the latter of those specified time-points.
* __<object-name>!~[<time-point>, <time-point>~]__: \\ Returns the strict sub-history of the object with the name <object-name> starting from the earlier of the two time-points and lasting to the latter one. The sub-history contains all values of the object's full history that have been set during the specified interval. In contrast to the 'normal' sub-history, this strict sub-history will not maybe start before the specified earlier time-point, but only at that earlier time-point or later (but of course not later than the later time-point).
* __<object-name>~[<time-point>, <time-point>~]__: \\ Returns the sub-history of the object with the name <object-name> starting from the earlier of the two time-points and lasting to the latter one. The sub-history contains all values of the object's full history that has been valid during the specified interval. This lead to that the sub-history usually starts before the specified time-points and have their latest value before the latter of those specified time-points.
At line 180 removed one line
At line 186 changed 3 lines
average(myQuestion[]) // average of all values myQuestion had before (incl. current one)
average(myQuestion[now-10min, now]) // average of the last 10 minutes
average(myQuestion![now-10min, now]) // average of all values that were set between 10 minutes ago and now
average(myQuestion[]) // average of all values myQuestion had before (incl. current one)
average(myQuestion[now-10min, now]) // average of the last 10 minutes
At line 227 removed one line
At line 271 removed 2 lines
Below you see all functions that come with the TimeDB plugin by default. If you need additional functionality that is not covered by the provided functions, you might consider defining your own specialized function using Javascript. See __[Doc Javascript Functions]__ for more info.