A double star graph is a graph formed by starting with 2 vertices and joining them together. Then each vertex is connected to a fixed amount of leaves (vertices of degree 1) specified by the user in the inputs.
i1 : G = doubleStar(4,5) o1 = Graph{0 => {1, 2, 3, 4, 5, 6}} 1 => {0} 2 => {0} 3 => {0} 4 => {0} 5 => {0} 6 => {0, 7, 8, 9, 10} 7 => {6} 8 => {6} 9 => {6} 10 => {6} o1 : Graph |
The object doubleStar is a method function.