1package denoptim.molecularmodeling.zmatrix;
79 if (o.getClass() != getClass())
96 int minId = Math.min(atm1Id, atm2Id);
97 int maxId = Math.max(atm1Id, atm2Id);
98 return 31 * minId + maxId;
Representation of an atom in the ZMatrix.
int getId()
Get the id of the atom.
boolean equals(Object o)
Get the string representation of the atom.
Representation of a bond in the ZMatrix.
ZMatrixAtom getAtm2()
Get the second atom in the bond.
ZMatrixAtom getAtm1()
Get the first atom in the bond.
ZMatrixBond(ZMatrixAtom atm1, ZMatrixAtom atm2)
Constructor for ZMatrixBond.
void setAtm1(ZMatrixAtom atm1)
Set the first atom in the bond.
void setAtm2(ZMatrixAtom atm2)
Set the second atom in the bond.