networks(deprecated)/petersen - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Home : Support : Online Help : networks(deprecated)/petersen

networks

 petersen
 creates the petersen graph

 Calling Sequence G:=petersen()

Parameters

 G - is returned as the petersen

Description

 • Important: The networks package has been deprecated.Use the superseding command GraphTheory[SpecialGraphs][PetersenGraph] instead.
 • The petersen graph is constructed. This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[petersen]().

Examples

Important: The networks package has been deprecated.Use the superseding command GraphTheory[SpecialGraphs][PetersenGraph] instead.

 > $\mathrm{with}\left(\mathrm{networks}\right):$
 > $G≔\mathrm{petersen}\left(\right):$
 > $\mathrm{degreeseq}\left(G\right)$
 $\left[{3}{,}{3}{,}{3}{,}{3}{,}{3}{,}{3}{,}{3}{,}{3}{,}{3}{,}{3}\right]$ (1)
 > $\mathrm{nops}\left(\mathrm{vertices}\left(G\right)\right)$
 ${10}$ (2)
 > $\mathrm{nops}\left(\mathrm{edges}\left(G\right)\right)$
 ${15}$ (3)