Comparison rule to < operator.
(self, other)
| 28 | self.edges = {} # {vertex:distance} |
| 29 | |
| 30 | def __lt__(self, other): |
| 31 | """Comparison rule to < operator.""" |
| 32 | return self.key < other.key |
| 33 | |
| 34 | def __repr__(self): |
| 35 | """Return the vertex id.""" |
nothing calls this directly
no outgoing calls
no test coverage detected