@TestClass(value="org.openscience.cdk.isomorphism.BondMatcherTest") public abstract class BondMatcher extends Object
Constructor and Description |
---|
BondMatcher() |
Modifier and Type | Method and Description |
---|---|
static BondMatcher |
forAny()
All bonds are compatible.
|
static BondMatcher |
forOrder()
Bonds are compatible if they are both aromatic or their orders are equal.
|
static BondMatcher |
forQuery()
|
static BondMatcher |
forStrictOrder()
Bonds are compatible if they are both aromatic or their orders are equal
and they are non-aromatic.
|
abstract boolean |
matches(IBond bond1,
IBond bond2)
Determines if
bond1 is compatible with bond2 . |
public abstract boolean matches(IBond bond1, IBond bond2)
bond1
is compatible with bond2
.bond1
- a bond from the query structurebond2
- a bond from the target structure@TestMethod(value="anyMatch") public static BondMatcher forAny()
@TestMethod(value="aromaticStrictMatch,aliphaticStrictMatch") public static BondMatcher forStrictOrder()
@TestMethod(value="aromaticMatch,aliphaticMatch") public static BondMatcher forOrder()
@TestMethod(value="queryMatch") public static BondMatcher forQuery()
Copyright © 2014. All Rights Reserved.