Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Routing and simulations on a ring and spherical polygon

Notifications You must be signed in to change notification settings

eddieschoute/spherical-routing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spherical-routing

Routing on a spherical polygon. This code was used to generate results for the "Shortcuts to Quantum Network Routing" paper (arXiv:1610.05238).

How to run

Install Scala Build Tool (sbt). Instructions can be found here: http://www.scala-sbt.org/0.13/docs/Setup.html Then run:

$ sbt
> compile
> test
> run ring.out sphere.out

The command test will run the currently active test suites, including some that verify correctness of the algorithms and their implementations. The run [ring output] [sphere output] will output simulation information to the files given as arguments.

The output can be interpreted as a csv with 2 columns followed by x simulation results, where x is the number of iterations. The output structured can be summarized as follows:

Nodes concurrent paths results...
Number of nodes in this simulation Number of concurrent paths used in this simulation A list of the layers in which a collision ocurred for this iteration. -1 Indicates no collision.

Processing of results

Results can be graphed using the scripts in the doc/ directory. Specifically, the stackedbar.m was used for the paper. The data in doc/sphere.csv was used to generate the figure in the paper.

About

Routing and simulations on a ring and spherical polygon

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages