Skip to content

Basic Inspection

Ed Scheinerman edited this page Sep 19, 2018 · 14 revisions

Basic Inspection Functions

  • NV(G): the number of vertices.

  • NE(G): the number of edges.

  • vlist(G): array containing the vertices.

  • elist(G): array containing the edges.

  • has(G,v): is v a vertex of G?

  • has(G,v,w): is (v,w) an edge of G?

Clone this wiki locally