結果 : data structure used in prim's algorithm