Msc Network System Presentation - PowerPoint PPT Presentation

1 / 4
About This Presentation
Title:

Msc Network System Presentation

Description:

Placed a number of nodes with the area of interest. ... The moving trace of the mobile node is carried out through assigning the angle ... – PowerPoint PPT presentation

Number of Views:18
Avg rating:3.0/5.0
Slides: 5
Provided by: Leng4
Category:

less

Transcript and Presenter's Notes

Title: Msc Network System Presentation


1
Msc Network System Presentation
  • Course Network Simulation (COMM3C)
  • Name Bing LENG
  • Title Java Network Programming

2
Achieved Specification
  • Create a Java program to simulate the movement of
    an object within a defined area.
  • There are two types of nodes four filed nodes
    and a single mobile node.
  • Placed a number of nodes with the area of
    interest.
  • All filed nodes in this program are identical.
  • Communication between the filed nodes and mobile
    node is made via cable based network.
  • The mobile node should move in an arc through the
    region of interest.
  • Nodes can be measure the distance and position
    from node to the object.
  • Load a list of node positions from a text file.
  • Create a discrete event simulator and graphics
    systems to visualize the movement of mobile node
    through the region of interest.
  • There are three control buttons start, stop and
    reset.
  • Display estimated position in text format.
  • Map background

3
The Proposed Solution
  • There are four classes, jtee, Readfile, Resst,
    and oob.
  • 1. Jtee It is the main class in this applet.
  • 2. Readfile The purpose of the Readfile is to
    read the filed node position. eadfile includes
    two construct functions (Constructor
  • Summary), Readfile (URL
    urla) and Readfile (String Stra). The
  • advantage of Readfile
    is it can read the file in different positions,
  • not only the local
    files, but also the long-distance URL files.
  • 3. Resst Resst is thread class.
  • 4. OOB class Realize ImageObserver interface.

4
The Proposed Solution continued
  • The purpose of loading files is to get the X and
    Y coordinate of the four filed nodes.
  • Draw graph on the panel is the control buttons.
  • Set background picturedraw filed nodedraw
    mobile nodeother lines.
  • The moving trace of the mobile node is carried
    out through assigning the angle value into
    yidong() in the cycle of thread.
  • This method is not to draw a circle directly, but
    complete the circle by assigning a series of new
    value to the X and Y attributes in the cycle
    thread.
  • http//osiris.sunderland.ac.uk/db2ble/java/jtee.h
    tml
Write a Comment
User Comments (0)
About PowerShow.com