Skip to main content Accessibility help
×
Hostname: page-component-7479d7b7d-c9gpj Total loading time: 0 Render date: 2024-07-11T12:16:13.568Z Has data issue: false hasContentIssue false

Appendix

Published online by Cambridge University Press:  05 June 2012

Sriram Pemmaraju
Affiliation:
Indian Institute of Technology, Bombay, and University of Iowa
Steven Skiena
Affiliation:
State University of New York, Stony Brook
Get access

Summary

▪AcyclicQ

AcyclicQ[g] yields True if graph g is acyclic.

See also FindCycle, TreeQ ▪See page 285

▪AddEdge

AddEdge[g, e] returns a graph g with the new edge e added, e can have the form {a, b} or the form {{a, b}, options}.

See also AddVertex, DeleteEdge ▪See page 193

▪AddEdges

AddEdges[g, 1] gives graph g with the new edges in l added. l can have the form {a, b}, to add a single edge {a, b}, or the form {{a, b}, {c, d}, ‥}, to add edges {a, b}, {c, d}, ‥, or the form {{{a, b}, x}, {{c, d}, y}, ‥), where x and y can specify graphics information associated with {a, b} and {c, d}, respectively.

New function ▪See also AddEdge ▪See page 193

▪AddVertex

AddVertex[g] adds one disconnected vertex to graph g. AddVertex[g, v] adds to g a vertex with coordinates specified by v.

See also AddEdge, DeleteVertex ▪See page 195

▪AddVertices

AddVertices[g, n] adds n disconnected vertices to graph g. AddVertices[g, vList] adds vertices in vList to g. vList contains embedding and graphics information and can have the form {x, y} or {{X1, y1}, {x2, y2} ‥} or the form {{{x1, y1), g1}, {{x2, y2}, g2}, …}, where {x, y}, {x1, y1}, and {x2, y2} are point coordinates and g1 and g2 are graphics information associated with vertices.

Type
Chapter
Information
Computational Discrete Mathematics
Combinatorics and Graph Theory with Mathematica ®
, pp. 375 - 446
Publisher: Cambridge University Press
Print publication year: 2003

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Appendix
  • Sriram Pemmaraju, Indian Institute of Technology, Bombay, and University of Iowa, Steven Skiena, State University of New York, Stony Brook
  • Book: Computational Discrete Mathematics
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139164849.010
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Appendix
  • Sriram Pemmaraju, Indian Institute of Technology, Bombay, and University of Iowa, Steven Skiena, State University of New York, Stony Brook
  • Book: Computational Discrete Mathematics
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139164849.010
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Appendix
  • Sriram Pemmaraju, Indian Institute of Technology, Bombay, and University of Iowa, Steven Skiena, State University of New York, Stony Brook
  • Book: Computational Discrete Mathematics
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139164849.010
Available formats
×