crime:examples
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crime:examples [2007/03/13 22:57] – Updated stijnm | crime:examples [2007/03/29 23:06] (current) – Updated stijnm | ||
---|---|---|---|
Line 5: | Line 5: | ||
The IN/OUT Board is a classic context-aware application proposed by [Dey et al.] during their seminal work on the context toolkit. The IN/OUT Board implemented using CRIME is used to visualise the current location of a user. The said location is expected to be published as a fact to allow applications to adapt their behaviour accordingly. When users are out of reach, the application keeps a record of when the user was last seen by the system. | The IN/OUT Board is a classic context-aware application proposed by [Dey et al.] during their seminal work on the context toolkit. The IN/OUT Board implemented using CRIME is used to visualise the current location of a user. The said location is expected to be published as a fact to allow applications to adapt their behaviour accordingly. When users are out of reach, the application keeps a record of when the user was last seen by the system. | ||
- | <note warning> | + | ==== Deploying the application |
- | The CRIME distribution contains a script file inout.sh which launches | + | |
+ | The CRIME distribution contains a script file '' | ||
+ | |||
+ | < | ||
+ | cd crime-1.0.0/ | ||
+ | ./server.sh & | ||
+ | ./ | ||
+ | </code> | ||
==== The Rules ==== | ==== The Rules ==== | ||
Line 24: | Line 31: | ||
As described in the original paper by [Dey et al.], variations in the functionality of the IN/OUT Board can be conceived where some versions may also display the last known whereabouts of a particular user on the screen. This can be achieved using the '' | As described in the original paper by [Dey et al.], variations in the functionality of the IN/OUT Board can be conceived where some versions may also display the last known whereabouts of a particular user on the screen. This can be achieved using the '' | ||
< | < | ||
- | : | + | : |
+ | | ||
history(? | history(? | ||
</ | </ | ||
< | < | ||
- | At present, action names in the examples | + | In the code snippets given above, the action names are fully qualified. The distribution of CRIME does however allow one to |
- | specify the scope of these rules as follows: '' | + | specify the scope of these rules as follows: '' |
</ | </ |
crime/examples.1173823054.txt.gz · Last modified: 2007/03/29 22:24 (external edit)