io
This commit is contained in:
parent
aafe6c1a09
commit
0428a63b38
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ class Instance:
|
|||
plt.figure(figsize=(8, 8))
|
||||
plt.title(self.name)
|
||||
plt.scatter(self.points[:, 1], self.points[:, 2])
|
||||
for i, txt in enumerate(np.arange(self.nPoints)): # tour_found[:-1]
|
||||
plt.annotate(txt, (self.points[i, 1], self.points[i, 2]))
|
||||
plt.show()
|
||||
|
||||
@staticmethod
|
||||
|
|
Reference in a new issue