1 / 9

Temperature Application based on Directed Diffusion

Temperature Application based on Directed Diffusion. Ke Liu September 2003. 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.

emily
Download Presentation

Temperature Application based on Directed Diffusion

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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

More Related