EVOLUTION-MANAGER
Edit File: graph_from_lcf.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Creating a graph from LCF notation</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for graph_from_lcf {igraph}"><tr><td>graph_from_lcf {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Creating a graph from LCF notation</h2> <h3>Description</h3> <p>LCF is short for Lederberg-Coxeter-Frucht, it is a concise notation for 3-regular Hamiltonian graphs. It constists of three parameters, the number of vertices in the graph, a list of shifts giving additional edges to a cycle backbone and another integer giving how many times the shifts should be performed. See <a href="http://mathworld.wolfram.com/LCFNotation.html">http://mathworld.wolfram.com/LCFNotation.html</a> for details. </p> <h3>Usage</h3> <pre> graph_from_lcf(n, shifts, repeats = 1) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>n</code></td> <td> <p>Integer, the number of vertices in the graph.</p> </td></tr> <tr valign="top"><td><code>shifts</code></td> <td> <p>Integer vector, the shifts.</p> </td></tr> <tr valign="top"><td><code>repeats</code></td> <td> <p>Integer constant, how many times to repeat the shifts.</p> </td></tr> </table> <h3>Value</h3> <p>A graph object. </p> <h3>Author(s)</h3> <p>Gabor Csardi <a href="mailto:csardi.gabor@gmail.com">csardi.gabor@gmail.com</a> </p> <h3>See Also</h3> <p><code><a href="make_graph.html">graph</a></code> can create arbitrary graphs, see also the other functions on the its manual page for creating special graphs. </p> <h3>Examples</h3> <pre> # This is the Franklin graph: g1 <- graph_from_lcf(12, c(5,-5), 6) g2 <- make_graph("Franklin") isomorphic(g1, g2) </pre> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>