Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer &...
-
Upload
sharyl-lewis -
Category
Documents
-
view
217 -
download
3
Transcript of Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer &...
![Page 1: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/1.jpg)
Project IIRule Optimizer for the Atlas
Reactivity Engine
CNT 5517-5564
Dr. Sumi HelalComputer & Information Science & Engineering Department
University of Florida, Gainesville, FL [email protected]
![Page 2: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/2.jpg)
Manuals & Downloads
• The Atlas Class Web Page– http://www.icta.ufl.edu/atlas/
• The Atlas Reactivity Engine– http://www.cise.ufl.edu/~helal/classes/AtlasRE.zip
![Page 3: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/3.jpg)
Overall Architecture
Atlas MiddlewareAtlas Middleware
RE Optimizer
Atlas Emulator
Atlas Emulator
Atlas Reactivity Engine
Atlas Reactivity Engine
Atlas Emulator
Atlas Emulator
CommandInterpreterCommandInterpreter
![Page 4: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/4.jpg)
Atlas RE Engine
• An Event/Condition/Action paradigm • A programming model for pervasive space• A Command line interface to interact with the
engine– View Basic Events & Actions. – Predefine: Events, Conditions and Actions– Define Rules– Accept commands & Provide results/feedback
• Engine interacts with the sensors /actuators through the Atlas middleware
![Page 5: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/5.jpg)
EVENTS
![Page 6: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/6.jpg)
Conditions
![Page 7: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/7.jpg)
Rules
Actions
![Page 8: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/8.jpg)
Commands
![Page 9: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/9.jpg)
Tokens & Delimiters
![Page 10: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/10.jpg)
Optimization Frameworks
• Push/Pull Envelop
• Caching
• Evaluation Short Cuts
• Application Characteristics
![Page 11: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/11.jpg)
Push / Pull Envelop
• Configuration of which sensors should participate, and if so, in which mode (push or pull, and if latter, at which frequency).
push
pullpure pushpure push
pure pullpure pull
sensor
Atlas Reactivity Engine
…… sensorsensorsensor
Optimal push/pull envelope
Application Layer
sensor
![Page 12: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/12.jpg)
Example Caching: Time/Frequency Modifier
![Page 13: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/13.jpg)
Evaluation Short Cuts
• Exploit Dominant Events– For a composite event whose sub-events are
connected by logic +, some of its sub-events may have significantly higher probability of occurrence than others which makes them a dominant factor in determining the value of the composite event. ( Likewise, for composite events whose sub-events are connected by logic *, sub-events with lower probability of occurrence become dominant )
![Page 14: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/14.jpg)
Project II Summary
• Form groups of 4 by no later than Friday Nov 5 noon.
• Understand all the components• Study source code of RE Engine• Develop the Optimizer
– Think, formalize and create your algorithms– Implement
• Assess the success/failure of your Optimizer
![Page 15: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.](https://reader036.fdocuments.us/reader036/viewer/2022062803/56649f4d5503460f94c6e922/html5/thumbnails/15.jpg)
Deliverables
• You will deliver source code with detailed documentation and about 5-10 pages report describing the following:
• Status of your project: what is completed and what not; what works and what not
• Your optimization ideas and strategies • Formal description of your optimization algorithm• Your experiment results• Any additional features implemented and the
rationale• Conclusions