Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wonderchang/freeway-adhoc-report

Simulating the cost of transmission in the freeway ad-hoc network
https://github.com/wonderchang/freeway-adhoc-report

Last synced: about 2 months ago
JSON representation

Simulating the cost of transmission in the freeway ad-hoc network

Awesome Lists containing this project

README

        

#Freeway-Ad-Hoc

NCKUEE, Computer Communication Network, homework #4.

Teacher: Sok-Ian Sou (蘇淑茵)

Student: EE103A E24990019 Yuen-Che Chang, Wonder Chang (張遠哲)

See the [report](http://wonderchang.github.io/freeway-adhoc-report/).

#Source Listing

You can see the directory "app" that contains the source code for simulation.

app/
main.js //the main program
data/ //the directory that collect the output file from the main.js
run.sh: //shell script file, help to run different inputting parameter via one command

Other sources are the code used to build the report website.

index.html //The page of the report website

css/
style.css //Stylesheet
js/
chart.js //Chart drawing
animate.js //Freeway animation
img/
github.gif //Some icon

#How to use

This program is written by Javascript.
The working environment should require Google Chrome V8 Engine Interpreter and Nodejs which is a system driven module.

###First
If you had installed Google Chrome browser, you have already had V8 Engine Interpreter.
If you haven't, please install it.

###Second
Then you should install the Nodejs module, the source download website: http://nodejs.org

###Third
Open the command line. Type

$ node main.js [distacne] [counter] [Pr] [message successful rate]

The after four inputting arguments are required. All the detail and the arugment meanings see the website report.