<?xml version="1.0" encoding="utf-8" ?> <!-- for emacs: -*- coding: utf-8 -*- --> <!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><title>Vertices -- the set of vertices a directed graph</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div>next | <a href="_transitive__Closure.html">previous</a> | forward | <a href="_transitive__Closure.html">backward</a> | up | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div> </td> </tr> </table> <hr/> <div><h1>Vertices -- the set of vertices a directed graph</h1> <div class="single"><h2>Synopsis</h2> <ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>V = G.Vertices</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>G</tt>, <span>an object of class <a href="___Directed__Graph.html" title="a class for directed graphs">DirectedGraph</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><tt>V</tt>, <span>a <a href="../../Macaulay2Doc/html/___List.html">list</a></span>, list of vertices of the directed graph G</span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><div>Since any DirectedGraph is in fact a HashTable this symbol denotes the data in the HashTable consisting of the vertices of the directed graph.</div> <table class="examples"><tr><td><pre>i1 : G = directedGraph({a,b,c,d,e}, {(a,b),(b,c),(a,c),(a,d),(d,e)});</pre> </td></tr> <tr><td><pre>i2 : V = G.Vertices -- the vertex set o2 = {a, b, c, d, e} o2 : List</pre> </td></tr> </table> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="___Directed__Graph.html" title="a class for directed graphs">DirectedGraph</a> -- a class for directed graphs</span></li> <li><span><a href="_directed__Graph.html" title="creating a directed graph">directedGraph</a> -- creating a directed graph</span></li> <li><span><a href="___Directed__Edges.html" title="the set of directed edges of a directed graph">DirectedEdges</a> -- the set of directed edges of a directed graph</span></li> </ul> </div> <div class="waystouse"><h2>For the programmer</h2> <p>The object <a href="___Vertices.html" title="the set of vertices a directed graph">Vertices</a> is <span>a <a href="../../Macaulay2Doc/html/___Symbol.html">symbol</a></span>.</p> </div> </div> </body> </html>