質問編集履歴
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -55,6 +55,8 @@
|
|
55
55
|
### 該当のソースコード
|
56
56
|
|
57
57
|
```python
|
58
|
+
#一部抜粋
|
59
|
+
|
58
60
|
def h_seg(self, num):
|
59
61
|
|
60
62
|
top_index = np.where(np.array(top) == num)
|
@@ -65,6 +67,17 @@
|
|
65
67
|
plt.hlines(2, int(concat.min(2)), int(concat.max(2)))
|
66
68
|
|
67
69
|
plt.show()
|
70
|
+
|
71
|
+
def main():
|
72
|
+
|
73
|
+
with open("routing.txt") as f:
|
74
|
+
reader = csv.reader(f)
|
75
|
+
l = [list(map(int, row)) for row in reader]
|
76
|
+
|
77
|
+
le = left_edge(l[0], l[1])
|
78
|
+
|
79
|
+
le.h_seg()
|
80
|
+
return 0
|
68
81
|
|
69
82
|
```
|
70
83
|
|