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 structurepublic static BondMatcher forAny()
public static BondMatcher forStrictOrder()
public static BondMatcher forOrder()
public static BondMatcher forQuery()
Copyright © 2018. All Rights Reserved.