Skip to content

julianofischer/traceanalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

traceanalysis - extracting information from ONE's connection traces.

Extracted information

  • largest connected component
  • total number of connections
  • connections per minute
  • total connection time
  • average connection time (per connection)
  • average number of connections (per node)
  • connected components evolution (each -step seconds)
  • max node degree
  • average node degree (per nodes per second)

Prerequisites

sudo apt-get install python3
sudo apt-get install python3-networkx

Usage

traceanalysis.py [-h] [-f FILENAME] [-n NUMBER] [-e ENDTIME]
                        [-s NUMBER]

Description

arguments:
  -h, --help            show this help message and exit
  -f FILENAME, --file FILENAME
                        the trace file that will be analyzed
  -n NUMBER, --numberOfNodes NUMBER
                        the number of nodes in the network
  -e ENDTIME, --end ENDTIME
                        trace ending time
  -s NUMBER, --step NUMBER
                        The step for logging component information

Usage example

python3 traceanalysis.py -n 62 -e 10000 --step 60 -f rollernet

Ignore warnings

python3 -W ignore traceanalysis.py -n 62 -e 10000 --step 60 -f rollernet

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages