Introduction - If you have any usage issues, please Google them yourself
Data Structure adjacency matrix.
Including the constructor function that returns the edge weights (v1, v2) on the function to insert a new vertex in the vertex list, the insert with the function of an edge in the right of the figure, the position of the vertex v is given first a function of the position of adjacent vertices, the vertex is given a function of the next adjacent vertices adjacent to vertex v w position, a function of deleting an edge in the graph, to remove a specified vertex v in the graph, v is the number of vertices functions such as quality function