Smart Dust Simulation Specifications

Abstract: A time based simulation that illustrates the relationship between “smart dust” sensors, their associated flechettes and the command processor as various targets move through the sensor field.

Objects:

Attributes (private member data)

Behaviors (public member functions)

Data Structures:

Time step behaviors:

Other functions:

Controls:

Objects:

Smart Dust: Heat, Motion, Radiation, Acoustic, Pressure

: Types: H, M, R, A, P //sample for constructor instantiation of type, random chars

: Private Member Data

char Type;

double x, y; (locations held constant)

double signal_strength;

Associated “Signal” strengths

Sensor type / Frequency of Sensor / Signal range (inclusive)
H / 25% / 0.0 to 1.0
M / 25% / 2.0 to 3.0
R / 5% / 4.0 to 5.0
A / 25% / 6.0 to 7.0
P / 20% / 8.0 to 9.0

The range of the number of sensors: 1,000<N<10,000, user input

THREE decimal place precision is required of all signals.

All signals are generated as values: (0.0 <= s <= 1.0 ) + and offset of 2, 4, 6, or 8 as above.

Flechette :

The number of Flechettes = .02*Number of Sensors

Private Member Data:

Double x, y; kept as const

Public Functions

Sense(){add to a list of signals as long as there is a input stream}

Send(){to command a string of data below}

Compute the frequency N, max, min, and mean values of each signal type.

//left to discuss

Command: receives a signal from each flechette for each time step. This signal may be zero.

Compute the OVER-ALL frequency N, max, min, and mean values of each signal type.

Controls:

Size of the domain: 0 to 1000, in both x and y;

User Input Signal range for all Smart Dust: initially 25 //will probably change

User input target profile for each signal type, some may be zero.

User input target speed across field.

Time steps are committed in groups of 5, with user controls for quit or 5 more.

The command will display each flechette data packet then compute and display the smallest min, largest max, mean of flechette means, total N of each sensor type for each time step.