UNPKG

352 BTypeScriptView Raw
1import { GraphVertex } from "./GraphVertex";
2export declare class GraphEdge<T> {
3 private startVertex;
4 private endVertex;
5 private weight;
6 readonly Weight: number;
7 readonly EndVertex: GraphVertex<T>;
8 readonly StartVertex: GraphVertex<T>;
9 constructor(startVertex: GraphVertex<T>, endVertex: GraphVertex<T>, weight?: number);
10}