Generated on Wed Apr 29 2015 11:51:41 for GGL-4.1.2 by doxygen 1.8.3.1
Public Member Functions | Protected Attributes
ggl::chem::GS_chem::node_is_in_component Class Reference

#include <GS_chem.hh>

Public Member Functions

 node_is_in_component ()
 empty construction More...
 
 node_is_in_component (const int componentID, const ComponentIdVec &componentVec, const IndexMap *idxMap)
 
template<typename VERTEX >
bool operator() (const VERTEX &node) const
 

Protected Attributes

int componentID
 componentID the index of the connected component to represent More...
 
const ComponentIdVeccomponentVec
 the connected component ID for each vertex More...
 
const IndexMapidxMap
 

Detailed Description

A boost graph node filter used as VertexPredicate of a boost::filtered_graph to represent a specific connected component of a Molecule. This is needed if the added Molecule represents a set of molecules to generate a SMILES string for each of them.

Definition at line 44 of file GS_chem.hh.

Constructor & Destructor Documentation

ggl::chem::GS_chem::node_is_in_component::node_is_in_component ( )
ggl::chem::GS_chem::node_is_in_component::node_is_in_component ( const int  componentID,
const ComponentIdVec componentVec,
const IndexMap idxMap 
)

construction

Parameters
componentIDthe index of the connected component to represent
componentVecthe connected component ID for each vertex
idxMapthe index map of the underlying graph to get the index of a requested vertex

Member Function Documentation

template<typename VERTEX >
bool ggl::chem::GS_chem::node_is_in_component::operator() ( const VERTEX &  node) const

Check if a vertex should be part of the filtered graph that represents a specific connected component of a boost graph.

Returns
true if the node should be represented, false otherwise.

Field Documentation

int ggl::chem::GS_chem::node_is_in_component::componentID
protected

Definition at line 47 of file GS_chem.hh.

const ComponentIdVec* ggl::chem::GS_chem::node_is_in_component::componentVec
protected

Definition at line 49 of file GS_chem.hh.

const IndexMap* ggl::chem::GS_chem::node_is_in_component::idxMap
protected

the index map of the underlying graph to get the index of a requested vertex

Definition at line 52 of file GS_chem.hh.


The documentation for this class was generated from the following file: