HeaRTDroid is a rule-based inference engine both for Android mobile devices, and desktop solutions
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
pub:software:heartdroid:tutorials:callbacks [2016/12/28 13:22] admin [Compile and run] |
pub:software:heartdroid:tutorials:callbacks [2016/12/28 13:31] admin [Actions] |
||
---|---|---|---|
Line 94: | Line 94: | ||
===== Actions ===== | ===== Actions ===== | ||
+ | Actions are based on the same concept as Callbacks. | ||
+ | There are several differences though: | ||
+ | * Actions are associated with rules and are fired when the rule fires | ||
+ | * Actions should implement Action interface, instead of Callback interface | ||
+ | * Action cannot modify the state of attributes, although have insight into the current state of the system (current values of all the attributes from the model) | ||
+ | |||
+ | |||