Skip to content
Snippets Groups Projects
route.py 327 B
Newer Older
  • Learn to ignore specific revisions
  • import remoteconnection
    import remoteparticipant
    
    import rustworkx as rx
    
    
    class Route:
    
        def __init__(self, start: remoteparticipant, end: remoteparticipant, g: rx.PyGraph, rl: float):
            self.start: remoteparticipant = start
            self.end: remoteparticipant = end
            self.graph = g
            self.routeloss = rl