Idris2Doc : Chem.QSAR.HDonor

Chem.QSAR.HDonor

(source)
Functionality for counting the number of hydrogen bond donors
in a molecule.

Like in the CDK, a H-donor is either
 * a non-negatively charge oxygen bound to at least on hydrogen
 * a non-negatively charge nitrogen bound to at least on hydrogen

Definitions

isHDonor : CasteElem=>IGraphk (AromBondb) (AtomeChargeprHCounttcl) ->Fink->Bool
  True, if the atom at the given node is a hydrogen bond donor.

Like in the CDK, a H-donor is either
* a non-negatively charge oxygen bound to at least on hydrogen
* a non-negatively charge nitrogen bound to at least on hydrogen

Totality: total
Visibility: export
hDonorCount : CasteElem=>IGraphk (AromBondb) (AtomeChargeprHCounttcl) ->Nat
  Returns the number of H-donors counted in the graph.

See also `isHDonor` for the rules about what counts as an H-donor.

Totality: total
Visibility: export