Skip to main content
edited tags
Link
Michael E2
  • 244.7k
  • 18
  • 351
  • 774
Tweeted twitter.com/StackMma/status/948126488360112128
added 18 characters in body
Source Link
kglr
  • 400.5k
  • 18
  • 488
  • 929

According to MathWorld (http://mathworld.wolfram.com/GraphJoin.htmlMathWorld >> GraphJoin), Mathematica could compute the join of two graphs with the GraphJoinGraphJoin command, part of CombinatoricaCombinatorica. This command no longer works as of v10, and I cannot find a replacement. I want something like:

GraphJoin[PathGraph[{a, b}], PathGraph[{c, d, e}]]

To produce $G_1+G_2$ below.

Join of two path graphs

According to MathWorld (http://mathworld.wolfram.com/GraphJoin.html), Mathematica could compute the join of two graphs with the GraphJoin command, part of Combinatorica. This command no longer works as of v10, and I cannot find a replacement. I want something like:

GraphJoin[PathGraph[{a, b}], PathGraph[{c, d, e}]]

To produce $G_1+G_2$ below.

Join of two path graphs

According to MathWorld >> GraphJoin, Mathematica could compute the join of two graphs with the GraphJoin command, part of Combinatorica. This command no longer works as of v10, and I cannot find a replacement. I want something like:

GraphJoin[PathGraph[{a, b}], PathGraph[{c, d, e}]]

To produce $G_1+G_2$ below.

Join of two path graphs

Source Link

Replacement for GraphJoin

According to MathWorld (http://mathworld.wolfram.com/GraphJoin.html), Mathematica could compute the join of two graphs with the GraphJoin command, part of Combinatorica. This command no longer works as of v10, and I cannot find a replacement. I want something like:

GraphJoin[PathGraph[{a, b}], PathGraph[{c, d, e}]]

To produce $G_1+G_2$ below.

Join of two path graphs