IMP logo
Public Member Functions
IMP::PythonDirectedGraph Class Reference

Detailed Description

The boost graphs used on the C++ side in IMP cannot easily be exported to python. Instead we provide a simple graph wrapper and a set of helper functions.

Each node of the graph has an associated vertex name, the exact type of which depends on the graph.

Note:
This class is only available in Python.

List of all members.

Public Member Functions

void add_edge (VertexDescriptor, VertexDescriptor)
VertexDescriptor add_vertex (VertexName)
VertexDescriptors get_in_neighbors (VertexDescriptor) const
VertexDescriptors get_out_neighbors (VertexDescriptor) const
VertexName get_vertex_name (VertexDescriptor v) const
Vertices get_vertices () const
void remove_vertex (VertexDescriptor)

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

Generated on Tue May 22 2012 23:33:24 for IMP by doxygen 1.8.1