Metafunction
EdgeDescriptor
Type of an object that represents an edge descriptor.
EdgeDescriptor<T>::Type
Include Headers
seqan/graph_types.h
Parameters
T
Type T must be a graph. All graphs use a pointer to an edge stump as an edge descriptor.
Types: Graph
Remarks
The edge descriptor is a unique handle to a given edge in a graph. It is used in various graph functions, e.g., to remove edges, to assign a cargo to an edge or to get the endpoints of an edge. It is also used to attach properties to edges.
Return Values
Type
EdgeDescriptor type.
Functions
addEdgeAdds a new edge to the graph, either with or without cargo.
assignPropertyAssigns a property to an item in the property map.
childVertexReturns the child vertex of an edge.
findEdgeFinds an edge.
getPropertyGet method for an item's property.
getTransitionProbabilityReturns the transition probability.
parentVertexReturns the parent vertex of an edge.
propertyAccesses the property of an item in the property map.
removeEdgeRemoves an edge from the graph. For automatons a label is required.
sourceVertexReturns the source vertex of an edge.
targetVertexReturns the target vertex of an edge.
transitionProbabilityReturns a reference to the transition probability.
Examples
EdgeDescriptor<Graph<> >::Type eD; //eD is an edge descriptor
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2011/02/08 21:37:09