Skip to content

pitt-rssl/overlay_topo_evaluation

This branch is up to date with amybabay/overlay_topo_evaluation:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

314c4df · Mar 10, 2023

History

18 Commits
Mar 1, 2023
Mar 1, 2023
Mar 1, 2023
Mar 10, 2023
Mar 1, 2023
Mar 1, 2023
Mar 1, 2023
Mar 1, 2023
Mar 1, 2023
Mar 1, 2023
Mar 1, 2023
Mar 1, 2023
Mar 10, 2023

Repository files navigation

overlay_topo_evaluation

Files :

  1. get topology

    python spanner.py 12node_edges.txt 12node_pos.txt initialKValue iterations mode ignoreNodes(optional)
    
  2. evaluate topology

    python diff.py 12node_edges.txt 12node_pos.txt topologyOutPut.txt ignoreNodes(optional) 
    
    • To print evaluation based on flexibility, Fault-tolerance, cost, and latency of the giving topology( used '-> topologyName.txt' to store the info, such as bfs.txt).

    • To see more details of each path, enable :

      #print(path_sum)           <-- def add_path
      
      #print(E[(i[j],i[j+1])])   <-- def add_cal_weight
      

      should work

  3. the summary.txt included a summary of evaluations of conf topology, bfs topology, dijk topology, and max flow topology.

Instructions of summary.txt:

Data summary for MIN weight disjoint path: Min : -25% , Average : 2%, Max : 59%

Data summary for MAX weight disjoint path: Min : 2% , Average : 152%, Max : 2150%

Data summary for MAX 6th weight disjoint path: Min : 4% , Average : 514%, Max : 3180%
  • the summary of MIN weight is like in the situation of no fault, the evaluation of min, average, and max of all the min weight(shortest) path of each node to node.

  • the "MAX weight" indecate 3ed best path or 3ed lowest weight path.

  • 'Average : 2%' the average of the difference between each min weight path and their direct path

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%