8 #ifndef IMPKERNEL_PYTHON_ONLY_H
9 #define IMPKERNEL_PYTHON_ONLY_H
11 #include <IMP/kernel/kernel_config.h>
13 #include <boost/graph/adjacency_list.hpp>
15 IMPKERNEL_BEGIN_NAMESPACE
33 class VertexDescriptor;
34 class VertexDescriptors;
37 VertexName get_vertex_name(VertexDescriptor v)
const;
38 VertexDescriptors get_in_neighbors(VertexDescriptor)
const;
39 VertexDescriptors get_out_neighbors(VertexDescriptor)
const;
40 void add_edge(VertexDescriptor, VertexDescriptor);
41 VertexDescriptor add_vertex(VertexName);
42 void remove_vertex(VertexDescriptor);
47 void show(std::ostream &out = std::cout)
const;
93 IMPKERNEL_END_NAMESPACE
std::string show_graphviz(Graph g)
Storage of a model, its restraints, constraints and particles.
networkx::DiGraph get_networkx_graph(Graph g)
void show_altgraph(Graph g)
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
base::Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.