jpeterbaker / maxfield

Code for maximizing the Ingress fields on a given set fo portals
GNU General Public License v3.0
165 stars 56 forks source link

'DiGraph' object has no attribute 'triangulation' #4

Closed yanivinbar closed 10 years ago

yanivinbar commented 10 years ago

input.csv:

A, 4615, -3916, 0
B, 4134, -4183, 0
C, 3888, -4038, 0

python ../makePlan.py 1 input.csv output1

IMPROVEMENT: total: 0 max: 0 weighted: 0 KEY PERFECTION Choosing plan requiring 0 additional keys, max of 0 from single portal Traceback (most recent call last): File "../makePlan.py", line 170, in for t in a.triangulation: AttributeError: 'DiGraph' object has no attribute 'triangulation'

jpeterbaker commented 10 years ago

Surprising. I'll look into it.

jpeterbaker commented 10 years ago

It was a problem with how I determined which portals were on the outside. This was a major mistake. After finding this bug, I have no idea why the code ever worked on anything.