Package org.openscience.cdk.isomorphism
Class TransformOp
java.lang.Object
org.openscience.cdk.isomorphism.TransformOp
- All Implemented Interfaces:
Comparable<TransformOp>
A transform operation (TransformOp) describes a change to be made to some
mapped set of indexed atoms (0 ≤ idx < N). An op-code has a
type and then up to 4 additional integer parameters name a, b, c, d.
What these parameters mean depend on the type and summarised below:
What these parameters mean depend on the type and summarised below:
| Type | Param a | Param b | Param c | Param d |
|---|---|---|---|---|
| NewAtom | idx | atomic number | impl H count | is aromatic? |
| NewBond | idx | idx | bond order | |
| DeleteAtom | idx | |||
| DeleteBond | idx | idx | ||
| BondOrder | idx | idx | bond order | |
| Mass | idx | isotope mass | ||
| Element | idx | atomic number | ||
| Aromatic | idx | is aromatic? | ||
| Charge | idx | formal charge | ||
| ImplH | idx | impl H | ||
| AdjustH | idx | +/- impl H change | ||
| MoveH | idx | idx | ||
| Tetrahedral | idx1 | idx2 | idx3 | idx4 |
| DbTogether | idx1 | idx2 | idx3 | idx4 |
| DbOpposite | idx1 | idx2 | idx3 | idx4 |
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTransformOp(TransformOp.Type type, int a) TransformOp(TransformOp.Type type, int a, int b) TransformOp(TransformOp.Type type, int a, int b, int c) TransformOp(TransformOp.Type type, int a, int b, int c, int d) TransformOp(TransformOp.Type type, TransformOp op) -
Method Summary
-
Constructor Details
-
TransformOp
-
TransformOp
-
TransformOp
-
TransformOp
-
TransformOp
-
-
Method Details
-
type
-
argA
public int argA() -
argB
public int argB() -
argC
public int argC() -
argD
public int argD() -
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TransformOp>
-
toString
-