38 lines
2.7 KiB
HTML
38 lines
2.7 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><title>Python: module geosolver.gmatch</title>
|
|
</head><body bgcolor="#f0f0f8">
|
|
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
|
|
<tr bgcolor="#7799ee">
|
|
<td valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="geosolver.html"><font color="#ffffff">geosolver</font></a>.gmatch</strong></big></big></font></td
|
|
><td align=right valign=bottom
|
|
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/rick/Programming/Python/GeoSolver/geosolver/gmatch.py">/home/rick/Programming/Python/GeoSolver/geosolver/gmatch.py</a></font></td></tr></table>
|
|
<p><tt># graph matching algorithm(s)</tt></p>
|
|
<p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#aa55cc">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
|
|
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="random.html">random</a><br>
|
|
</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#eeaa77">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt><a name="-gmatch"><strong>gmatch</strong></a>(pattern, reference)</dt><dd><tt>Match pattern graph to reference graph. <br>
|
|
<br>
|
|
Pattern matches are subgraphs of reference (subgraph isomorphisms).<br>
|
|
(a subgraph is a subset of variables and subset of edges)<br>
|
|
Any vertices in the pattern that are equal to some vertex in reference, they are matched exactly.<br>
|
|
Otherwise, vertices in pattern are considered variables.<br>
|
|
Returns a list of solutions. <br>
|
|
Each solution is a Map from pattern vertices to reference vertices (and vice versa).</tt></dd></dl>
|
|
<dl><dt><a name="-test"><strong>test</strong></a>()</dt></dl>
|
|
</td></tr></table>
|
|
</body></html> |