Idris2Doc : Chem.QSAR.RotatableBonds

Chem.QSAR.RotatableBonds

(source)

Definitions

isRotatableBond : Cast e Elem => Cast b BondOrder => EdgeSet k -> Bool -> Bool -> IGraph k b (Atom e c p r h t ch l) -> Edge k b -> 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 : Cast e Elem => Cast b BondOrder => EdgeSet k -> Bool -> Bool -> IGraph k b (Atom e c p r h t ch l) -> Nat
  Returns the number of rotatable bonds in a molecule.

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

Totality: total
Visibility: export