MCPcopy Create free account
hub / github.com/TheAlgorithms/TypeScript / Edge

Class Edge

graph/prim.ts:63–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63export class Edge {
64 a: number = 0
65 b: number = 0
66 weight: number = 0
67 constructor(a: number, b: number, weight: number) {
68 this.a = a
69 this.b = b
70 this.weight = weight
71 }
72}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected