Idris2Doc : Chem.QSAR.RotatableBonds

Chem.QSAR.RotatableBonds

(source)

Definitions

isRotatableBond : CasteElem=>CastbBondOrder=>EdgeSetk->Bool->Bool->IGraphkb (Atomecprhtchl) ->Edgekb->Bool
  True if the given edge counts as a rotatable bond.

A single bond is rotatable, if
* it is not connected to a hydrogen atom
* it is not a ring bond
* the atoms it connects are not attached to triple bonds
* it does not connect a terminal non-H atom (unless `includeTerminals`
is set to `True`)
* it is an amide bond and `excludeAmides` is set to `True`

Totality: total
Visibility: export
rotatableBondCount : CasteElem=>CastbBondOrder=>EdgeSetk->Bool->Bool->IGraphkb (Atomecprhtchl) ->Nat
  Returns the number of rotatable bonds in a molecule.

See also `isRotatableBond` about what counts as a rotatable bond.

Totality: total
Visibility: export