Presentation is loading. Please wait.

Presentation is loading. Please wait.

Temperature Application based on Directed Diffusion Ke Liu September 2003.

Similar presentations


Presentation on theme: "Temperature Application based on Directed Diffusion Ke Liu September 2003."— Presentation transcript:

1 Temperature Application based on Directed Diffusion Ke Liu September 2003

2 Temperature Application Code structure Attributes: the definition for the application Sensor: running on every end node Sink: running on the observer Environment Simulation Parent Class: Application/DiffApp

3 Basic Attributes Keys: used by the data exchanged in network Temperature Key: for the temperature data Location Keys: to track the position of reporting nodes  X Key  Y Key Keys for CAN: to aggregate the received data  Covariance Key  Average temperature Key  Number of nodes Key

4 Basic Attributes (cont ’ ) NRSimpleAttributeFactory: maybe containing many NRAttributes each, defining the attr data type (for all of following, I use FLOAT64_TYPE) Temperature AttrFactory Location AttrFactory CAN AttrFactory Each message can consist of several defined Attribute Factory. Each factory can consist of many attributes data

5 Code Structure Rectangles: Classes Triangles: Methods

6 Sensor Behavior Real Line: Control Flow Dashed Line: Data Flow/Actions Order

7 Sink Behavior

8 Environment Simulation Temperature Matrixes: Environment Temperature Matrix Fire Temperature Matrix Methods: Set the temperature for specified location Set the fire for specified location Spread the fire Set the fire ’ s dangerous level (spreading speed) Return the temperatures of a specified location Updating timer

9 Thanks


Download ppt "Temperature Application based on Directed Diffusion Ke Liu September 2003."

Similar presentations


Ads by Google