Commit cc6f860b authored by cyts's avatar cyts
Browse files

Rewrote Nested Edge Turn and Delta Change as recursive algorithms

parent fed3268a
from pathlib import Path
import os
import sys
filepath = Path(r"../../src/").resolve()
if os.fspath(filepath) not in sys.path:
sys.path.append(os.fspath(filepath))
from utils import *
from timeit import default_timer as timer
start = timer()
for i in range(5000):
graph_cost_fast(func,s_orig)
end = timer()
print(end - start)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment