Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Add known vertex set to random graph' topicStudent Support Forum > General > "Add known vertex set to random graph"

Help | Reply To Topic
Author Comment/Response
Brit Cruise
10/26/10 7:21pm


I'm generating MST's and studying the diameter growth according to order of the graph. I'm trying to run an experiment where I compare diameter growth vs. growth of a shortest path between two points I manually insert into the random graph. I want to be able to specify where these points are, so I can test them close together, and gradually separate them.

How do I manually add two vertices in a graph with a coordinate, such as
vertex 1: (0,0)
vertex 2: (0,0.2)

The way I'm generating my graphs can be found in my attached notebook

Attachment: britsproblem.nb, URL: ,
Help | Reply To Topic