 | GraphHelperGetEquivalentOrAdd Method |
Returns one graph from the given array of graphs that is equivalent to the candidate (sub)graph,
or null if none exists, in that case the graph is added to the array of graphs.
This method is (intended to be) thread-safe (it locks the array as needed, still allowing for a large amount of parallel equivalence checking if called by multiple threads).
Namespace: de.unika.ipd.grGen.libGrAssembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntaxpublic static IGraph GetEquivalentOrAdd(
IGraph candidate,
IList<IGraph> graphsToCheckAgainst,
bool includingAttributes
)
Parameters
- candidate IGraph
-
- graphsToCheckAgainst IListIGraph
-
- includingAttributes Boolean
-
Return Value
IGraph
See Also