DJJerome1976

535 Reputation

12 Badges

18 years, 73 days

MaplePrimes Activity


These are questions asked by DJJerome1976

I am using GraphTheory:-AutomorphismGroup() command in order to obtain all the automorphisms of a graph. However, the command appears to return a set of generators. How can I get all the automorphisms listed?

Here is an example of my work.

with(GraphTheory)

AutomorphismGroup(CycleGraph(4))

_m4568996768

(1)

NULL

Download auto.mw

I am trying to produce a two-dimensionanl grid spanned by 2 non-standard vectors as shown below.  How might I achieve this?

I have the set {1, 2, 3, 4, 6, 8, 12, 17, 19, 20} and i need to select all the elements between 5 and 15 and create another set with just those elements. So, I want to obtain the set {6,8,12}. How might that be done using the select( ) command? Other suggestions welcome.

Hi,

I am generating several random weighted graphs using the following code:

with(GraphTheory):
with(RandomGraphs):
G:=RandomGraph(10,20,connected):
G1:=AssignEdgeWeights(G,5..25):
DrawGraph(G1,showlabels=true,stylesheet=[edgecolor=blue,weightfont = [times,bold,11]])

By default weight labels appear to be positioned at the midpoint of each edge. Is there a way to change that positioning?

Thanks!

I am using the RandomGraph() command from the GraphTheory[RandomGraphs] package to generate many random graphs of certain order (n) and size. The default labeling for vertices is based on the set {1,2,3,4,...n}. Is there a way to change the default labeling so that the vertices are labeled {v1, v2,...,vn}? I know how define the vertex labels for a predetermined graph, but I'm looking for a way to automatically apply these labels to a randomly generated graph. Thanks!

1 2 3 4 5 6 7 Last Page 2 of 16