This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
crime:examples [2007/03/13 17:19] stijnm IN/OUT |
crime:examples [2007/03/29 23:06] stijnm Updated |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Example Applications ====== | ||
- | The CRIME distribution comes with a suite of example applications, | ||
- | ===== IN/OUT Board ===== | ||
- | The IN/OUT Board is a classical context-aware application proposed by Dey et al. during their work on the context toolkit. The system visualises the location of a user (which are expected to be public facts) and derives the nearest phone to that user. When users are out of reach, the application keeps a record of when the user was last seen by the system. | ||
- | |||
- | <note warning> | ||
- | The CRIME distribution contains a script file inout.sh which launches the IN/OUT Board application which internally starts a CRIME engine. The CRIME engine will evaluate the rules specified below. </ | ||
- | |||
- | < | ||
- | : | ||
- | person(? | ||
- | location(? | ||
- | phone(? | ||
- | |||
- | |||
- | : | ||
- | history(? | ||
- | |||
- | |||
- | : | ||
- | location(? | ||
- | person(? | ||
- | phone(? | ||
- | notify(? | ||
- | |||
- | </ | ||
- | The rules above trigger the application events SetBoard, HistoryBoard and Notify. In CRIME all application events are to be prefixed with a colon. |