I need to generate 1000 vertices and edges, where the edges have different weights and all the vertices are connected to each other as shown in the image.enter image description here
The output of the code should be represented in numerical values, like (0, 1, 10) <--point 0 to point 1 and the weight of the edge is 10.
Aucun commentaire:
Enregistrer un commentaire