Class BondMatcher
java.lang.Object
org.openscience.cdk.isomorphism.BondMatcher
Defines compatibility checking of bonds for (subgraph)-isomorphism mapping.
- Author:
- John May
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BondMatcherforAny()All bonds are compatible.static BondMatcherforOrder()Bonds are compatible if they are both aromatic or their orders are equal.static BondMatcherforQuery()static BondMatcherBonds are compatible if they are both aromatic or their orders are equal and they are non-aromatic.abstract booleanDetermines ifbond1is compatible withbond2.
-
Constructor Details
-
BondMatcher
public BondMatcher()
-
-
Method Details
-
matches
-
forAny
-
forStrictOrder
Bonds are compatible if they are both aromatic or their orders are equal and they are non-aromatic. Under this matcher a single/double bond will not match a single/double bond which is aromatic.- Returns:
- a bond matcher
-
forOrder
Bonds are compatible if they are both aromatic or their orders are equal. This matcher allows a single/double bond to match a single/double aromatic bond.- Returns:
- a bond matcher
-
forQuery
- Returns:
- a bond matcher
-