()
| 16 | } |
| 17 | |
| 18 | getKey() { |
| 19 | if (this.key) { |
| 20 | return this.key; |
| 21 | } |
| 22 | |
| 23 | const startVertexKey = this.startVertex.getKey(); |
| 24 | const endVertexKey = this.endVertex.getKey(); |
| 25 | |
| 26 | this.key = `${startVertexKey}_${endVertexKey}`; |
| 27 | |
| 28 | return this.key; |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * @return {GraphEdge} |
no outgoing calls
no test coverage detected