EVOLUTION-MANAGER
Edit File: identical_graphs.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: Decide if two graphs are identical</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 identical_graphs {igraph}"><tr><td>identical_graphs {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Decide if two graphs are identical</h2> <h3>Description</h3> <p>Two graphs are considered identical by this function if and only if they are represented in exactly the same way in the internal R representation. This means that the two graphs must have the same list of vertices and edges, in exactly the same order, with same directedness, and the two graphs must also have identical graph, vertex and edge attributes. </p> <h3>Usage</h3> <pre> identical_graphs(g1, g2, attrs = TRUE) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>g1, g2</code></td> <td> <p>The two graphs</p> </td></tr> <tr valign="top"><td><code>attrs</code></td> <td> <p>Whether to compare the attributes of the graphs</p> </td></tr> </table> <h3>Details</h3> <p>This is similar to <code>identical</code> in the <code>base</code> package, but it ignores the mutable piece of igraph objects; those might be different even if the two graphs are identical. </p> <p>Attribute comparison can be turned off with the <code>attrs</code> parameter if the attributes of the two graphs are allowed to be different. </p> <h3>Value</h3> <p>Logical scalar </p> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>