Chemical Descriptors Library: is_vertex_ring_member
|
Molecule Functors
|
|
is_vertex_ring_member
Object type
Binary predicate
Description
The binary predicate returns true if the vertex passed to the function forms
part of the SSSR vertices.
Prototype
struct is_vertex_ring_member {
template <class Molecule>
bool operator()(const Molecule& m, typename Molecule::vertex_descriptor v);
};
Associated types
None
Definition
#include <morpho/cdl/molecule/functors/mol_ftors.hpp>
Preconditions
The Molecule type is a valid CDL molecule type, or offers the same
semantics.
Complexity
worst case O( Num SSSR * num_vertices(SSSRi) )
Example
References
Copyright © Vladimir Josef Sykora & Morphochem AG 2003
Copyright © Vladimir Josef Sykora 2003-2006