class MoleculeSignature extends AbstractGraphSignature {

    @Override
    /** {@inheritDoc} */
    public String signatureStringForVertex(int vertexIndex) {
        AtomSignature atomSignature;
        int height = super.getHeight();
        if (height == -1) {
            atomSignature = new AtomSignature(vertexIndex, this.molecule);
        } else {
            atomSignature = new AtomSignature(vertexIndex, height, this.molecule);
        }
        return atomSignature.toCanonicalString();
    }

    public  MoleculeSignature(IAtomContainer molecule);
    public  MoleculeSignature(IAtomContainer molecule, int height);

}