Class
Graph
Generic graph.
Graph<TSpec>
Include Headers
seqan/graph_types.h
Parameters
TSpec
The specializing type determines the kind of graph, e.g., directed, undirected, tree, or automaton.
Default: Directed<>
Remarks: The default Graph<> corresponds to a directed graph.
Specializations
Alignment GraphAn alignment graph.
AutomatonAn Automaton has directed edges, labeled with input symbols, and a distinct start state, called root. The input symbols require the use of a third parameter: The alphabet of the input symbols.
Directed GraphA directed graph that stores the edges in an adjacency list.
HmmAn Hmm is a directed graph with edges labeled with transition probabilities and emission profiles for each vertex. Vertices correspond to states in an HMM.
OracleA factor oracle.
TreeA Tree has a distinct root and directed edges. The source vertex of each edge is the parent vertex, the target vertex of each edge is the child. Trees provide fast access to child vertices and the parent.
TrieA keyword trie.
Undirected GraphAn undirected graph that stores the edges in an adjacency list.
Metafunctions
AlphabetAccess to the Alphabet type.
CargoType of additional data stored in an object.
EdgeDescriptorType of an object that represents an edge descriptor.
EdgeIdHandlerType of an object that represents an Id Manager.
EdgeIdHandlerType of an object that represents an Id Manager.
EdgeTypeEdge type of a graph object.
HostType of the object a given object depends on.
IteratorType of iterator objects that are used to traverse the container.
SpecThe spec of a class.
VertexDescriptorType of an object that represents a vertex descriptor.
Functions
addEdgeAdds a new edge to the graph, either with or without cargo.
addEdgesShortcut to add multiple edges at once. Creates vertices implicitly.
addVertexAdds a new vertex to the graph.
clearResets an object.
clearEdgesRemoves all edges in a graph.
clearVerticesRemoves all vertices in a graph.
createIntervalTreeCreate an interval tree.
degreeNumber of incident edges for a given vertex.
emptyTest a container for being empty.
findEdgeFinds an edge.
getAdjacencyMatrixReturns an adjacency matrix representation of the graph.
inDegreeNumber of incoming edges for a given vertex.
numEdgesNumber of edges in a graph.
numVerticesNumber of vertices in a graph.
outDegreeNumber of outgoing edges for a given vertex.
removeEdgeRemoves an edge from the graph. For automatons a label is required.
removeInEdgesRemoves the incoming edges of a given vertex.
removeOutEdgesRemoves the outgoing edges of a given vertex.
removeVertexRemoves a vertex.
resizeEdgeMapInitializes an edge map
resizeVertexMapInitializes a vertex map.
sourceVertexReturns the source vertex of an edge.
targetVertexReturns the target vertex of an edge.
transposeTransposes a graph, either in-place or from source to dest.
transposeTransposes a graph, either in-place or from source to dest.
writeSaves records to a file.
SeqAn - Sequence Analysis Library - www.seqan.de
 

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