15#include <boost/graph/adjacency_list.hpp>
22typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS,
32 Graph::vertex_descriptor which = boost::add_vertex(*
this);
33 (*this)[which] = atom;
35 void addBond(
unsigned int bond,
unsigned int beginAtom,
36 unsigned int endAtom) {
38 Graph_t::edge_descriptor which;
39 boost::tie(which, res) = boost::add_edge(beginAtom, endAtom, *
this);
40 (*this)[which] = bond;
void addBond(unsigned int bond, unsigned int beginAtom, unsigned int endAtom)
void addAtom(unsigned int atom)
std::pair< EDGE_ITER, EDGE_ITER > BOND_ITER_PAIR
#define RDKIT_FMCS_EXPORT
boost::adjacency_list< boost::vecS, boost::vecS, boost::undirectedS, AtomIdx_t, BondIdx_t > Graph_t