Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer &...

15
Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University of Florida, Gainesville, FL 32611 [email protected]

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.

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.

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.

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.

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.

EVENTS

Page 6: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.

Conditions

Page 7: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.

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.

Commands

Page 9: Project II Rule Optimizer for the Atlas Reactivity Engine CNT 5517-5564 Dr. Sumi Helal Computer & Information Science & Engineering Department University.

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.

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.

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.

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.

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.

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.

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