結果 : data structure used to implement prim's algorithm