Chemical Descriptors Library: valence_vertex_degree()
|
Valence Vertex Degree
|
|
valence_vertex_degree()
Prototype
The function is overloaded :
template <class Molecule>
size_t valence_vertex_degree (typename Molecule::vertex_descriptor v,
const Molecule& m);
template <class Molecule>
size_t valence_vertex_degree (const typename Molecule::atom_iterator& ai,
const Molecule& m);
template <class Molecule>
size_t valence_vertex_degree (const typename Molecule::const_atom_iterator& ai,
const Molecule& m);
Arguments
Parameter | Description | Models |
v, ai |
The vertex or atom iterator of the molecule |
size_t for v, atom_iterator or const_atom_iterator for ai |
Description
Returns the valence vertex degree of an atom.
Definition
#include <morpho/cdl/atom/algorithms/atom_algorithms.hpp>
Preconditions
Complexity
References
Copyright © Vladimir Josef Sykora & Morphochem AG 2003
Copyright © Vladimir Josef Sykora 2003-2006