Revision 0a4aa24d simulator.py

View differences:

simulator.py
13 13
import networkx as nx
14 14
import util.MyUtil as myu
15 15
from time import sleep
16
import time
16 17
import matplotlib.pyplot as plt
17 18
plt.ion()
18 19

  
19 20

  
21

  
22

  
20 23
def f(params):
21 24
    pos, radius = params['pos'], params['radius']
22 25
    # Build new UnitDiskGraph

Also available in: Unified diff