initial commit
This commit is contained in:
21
main.py
Normal file
21
main.py
Normal file
@@ -0,0 +1,21 @@
|
||||
"""
|
||||
Run program from here.
|
||||
Requires: python > 3.10.x
|
||||
"""
|
||||
|
||||
from parser import parse
|
||||
from dijkstra import create_graph
|
||||
|
||||
|
||||
INPUTFILE = "file.txt"
|
||||
|
||||
|
||||
def main():
|
||||
dataset: dict = parse(INPUTFILE)
|
||||
print(dataset)
|
||||
graph: dict = create_graph(dataset)
|
||||
print(graph)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user