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;
36 Vertices get_vertices()
const;
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;
92 IMPKERNEL_END_NAMESPACE