1 #ifndef BALL_DATATYPE_MOLECULARGRAPH_H
2 #define BALL_DATATYPE_MOLECULARGRAPH_H
4 #include <boost/graph/properties.hpp>
5 #include <boost/graph/graph_traits.hpp>
6 #include <boost/graph/adjacency_list.hpp>
7 #include <boost/graph/copy.hpp>
11 #ifndef BALL_COMMON_GLOBAL_H
15 #ifndef BALL_DATATYPE_GRAPH_GRAPHALGORITHMS_H
27 typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS,
28 boost::property<boost::vertex_atom_ptr_t, const Atom*>,
29 boost::property<boost::edge_bond_ptr_t, const Bond*>
53 typedef boost::graph_traits<MolecularGraph>::vertex_descriptor
Vertex;
54 typedef boost::graph_traits<MolecularGraph>::edge_descriptor
Edge;
57 typedef boost::graph_traits<MolecularGraph>::edge_iterator
EdgeIterator;
58 typedef boost::property_map<MolecularGraphBase, boost::vertex_atom_ptr_t>::type
AtomPtrMap;
59 typedef boost::property_map<MolecularGraphBase, boost::edge_bond_ptr_t>::type
BondPtrMap;
60 typedef boost::property_map<MolecularGraphBase, boost::vertex_atom_ptr_t>::const_type
ConstAtomPtrMap;
61 typedef boost::property_map<MolecularGraphBase, boost::edge_bond_ptr_t>::const_type
ConstBondPtrMap;
81 #endif //BALL_DATATYPE_MOLECULARGRAPH_H