-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
66 lines (40 loc) · 1.97 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Welcome to KimonoNet
==============================================================================
Copyright:
(c) 2012
Authors (alphabetical order):
Bollens, Eric <ebollens@oit.ucla.edu>
Hung, James <james.h@ucla.edu>
Khalapyan, Zorayr <zkhalapyan@oit.ucla.edu>
Norris, Wade <wade.norris@ucla.edu>
TABLE OF CONTENTS
1. Introduction
2. Repository Organization
3. Running Simulations
1. Introduction
==============================================================================
2. Repository Organization
==============================================================================
3. Running Simulations
There are two types of simulations supported: KiNCoL and Simulation UI.
Depending on the type of simulation required, the developer may choose one or
the either. Below are instructions for running KiNCoL:
1. Open terminal/cmd and navigate to the binary distribution folder.
2. Within command prompt, type the following:
java KimonoNet mode-cl [number-of-peers map-width map-height hostility-factor
peer-speed number-of-packets [beacon-timeout]]
Parameter Discriptions:
number-of-peers (integer) : The number of peers to participate in the simulation.
map-width (integer) : Map width in meters.
map-height (integer) : Map height in meteres.
hostility-factor (float) : Value in the range of [0, 1] that indicates the
probability of node failure.
peer-speed (float) : Average speed of a node in the simulation.
number-of-packets (integer) : Number of packets to send from a random source to a
stationary destination.
beacon-timeout (integer) : Value in milliseconds that indicates the frequency
of becaon packets.
3.After running the simulation, results will be displayed on the console.
4. To turn off 2-hop routing to simulate GPSR, instead of mode-cl, type
mode-cl-gpsr.
==============================================================================