Idris2Doc : Chem.QSAR.Util

Chem.QSAR.Util

(source)
Utilities for computing molecular descriptors

Definitions

elemAt : IGraphkb (Atomecprhtchl) ->CasteElem=>Fink->Elem
  Returns the element at the given position

Totality: total
Visibility: export
isElem : IGraphkb (Atomecprhtchl) ->CasteElem=>Elem->Fink->Bool
  True, if the given node is an atom of the given element

Totality: total
Visibility: export
hasElem : IGraphkb (Atomecprhtchl) ->CasteElem=>Elem->AssocListkb->Bool
  True, if the given list of neighbours points to at least one
element of the given type

Totality: total
Visibility: export
hasNeighbour : IGraphkb (Atomecprhtchl) ->CasteElem=>CastbBondOrder=>Elem->BondOrder->Fink->Bool
  True, if the given list of neighbours points to at least one
element of the given type, bound via a bond of the given order

Totality: total
Visibility: export
countElems : IGraphkb (Atomecprhtchl) ->CasteElem=>Elem->AssocListkb->Nat
  Counts the number of neighbours pointing to an element of the
given type.

Totality: total
Visibility: export
countNonHs : IGraphkb (Atomecprhtchl) ->CasteElem=>AssocListkb->Nat
  Counts the number of non-hydrogen neighbours

Totality: total
Visibility: export
heavyDegree : IGraphkb (Atomecprhtchl) ->CasteElem=>Fink->Nat
  Number of non-hydrogens bound to the given node

Totality: total
Visibility: export
maxBondOrder : IGraphkb (Atomecprhtchl) ->CastbBondOrder=>Fink->BondOrder
  Maximum order of bonds connecting the given node

Totality: total
Visibility: export
isAmideBond : IGraphkb (Atomecprhtchl) ->CasteElem=>CastbBondOrder=>Fink->Fink->Bool
  True, if the bond connecting the two nodes `x` and `y` is an
amide bond. We assume, that it has already been verified that x and
are connected via a single bond.

Totality: total
Visibility: export
bonds : CastbBondOrder=>HCount->AssocListkb->Bonds
  Accumulates the total bond count from an atoms neighbours and the implicit
hydrogen count.

Totality: total
Visibility: export
nonAromaticBonds : CastbBondOrder=>HCount->AssocListk (AromBondb) ->Bonds
  Like `bonds` but counts only non-aromatic bonds.

Totality: total
Visibility: export
numNeighbours : AtomecprHCounttchl->AssocListkb->Nat
  Total number of neighbours of an atom (including implicit hydrogens)

Totality: total
Visibility: export