diff options
| author | JonZhao <[email protected]> | 2019-05-28 21:06:28 +0800 |
|---|---|---|
| committer | JonZhao <[email protected]> | 2019-05-28 21:06:28 +0800 |
| commit | ab4babaa508d27b377e5b5f9f19b05fbef1da85e (patch) | |
| tree | bae35eb1f89f7f66444b5e382c4db99bdd1f851e /vrptw_base.py | |
| parent | 1b2e26d831e075770baa8c2c27ef965b1c7743b2 (diff) | |
| download | VRPTW-ACO-python-ab4babaa508d27b377e5b5f9f19b05fbef1da85e.tar.gz VRPTW-ACO-python-ab4babaa508d27b377e5b5f9f19b05fbef1da85e.tar.bz2 VRPTW-ACO-python-ab4babaa508d27b377e5b5f9f19b05fbef1da85e.zip | |
use main thread to draw figure
Diffstat (limited to 'vrptw_base.py')
| -rw-r--r-- | vrptw_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vrptw_base.py b/vrptw_base.py index ba86128..645b114 100644 --- a/vrptw_base.py +++ b/vrptw_base.py @@ -164,8 +164,8 @@ class VrptwGraph: class PathMessage: def __init__(self, path, distance): - self.path = path - self.distance = distance + self.path = copy.deepcopy(path) + self.distance = copy.deepcopy(distance) def get_path_info(self): return self.path, self.distance |
