00001 00019 class Edge 00020 { 00021 public: 00022 int v, w, weight; 00023 Edge(int firstVertex, int secondVertex, int edgeWeight) 00024 { 00025 v = firstVertex; 00026 w = secondVertex; 00027 weight = edgeWeight; 00028 } // end constructor 00029 }; // end Edge 00030 // End of header file