G = gsp_comet(N,k);
N | Number of vertices. (default 32) |
k | Degree of center vertex. (default 12) |
G | Graph structure. |
'gsp_comet(N,k)' initializes the commet graph. The commet graph is a simple path graph with a star od degree \(k\) at its end.
Example:
G = gsp_comet(16,8); param.show_edges = 1; gsp_plot_graph(G,param);