molfoundry.MatchApplication#
- class molfoundry.MatchApplication(edge, vertexMap)#
Bases:
NamedTupleThe result of
DG.Builder.applyMatch().edgeis the hyperedge of the derivation; itstargetsare the products.vertexMapis the atom map of exactly the applied match. An entry with both asourceand atargetis a vertex that survives, from the given graphs into a product; asourceofNoneis a vertex the rule created, atargetofNoneone it deleted. A source’ssourceInstancecounts listings: instancekof a graph is itsk-th occurrence in the given list.Create new instance of MatchApplication(edge, vertexMap)