day25 package
Subpackages
Submodules
day25.day25 module
day25 solution.
- class day25.day25.Connection(src: str, dests: list[str])[source]
Bases:
object
Connection between two nodes.
- dests: list[str]
- src: str
- day25.day25.get_data(path: str) list[Connection] [source]
Loads data and parses it into list of connections.
- day25.day25.parse_connection(line: str) Connection [source]
Parse connection into well defined class.
E.g.
src: dest1 dest2 dest3
.
- day25.day25.solve_nodes(connections: list[Connection]) int [source]
Graphs the modules.
Module contents
day25 solution.