Class Specialization
Automaton
An 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.
An automaton, where 0 is the start state.
Graph<Automaton<TAlphabet, TCargo, TSpec> >
Parameters
TAlphabet
The alphabet type that is used for the transition labels.
Metafunctions: Alphabet
Default: char
Remarks: Use Alphabet to get the type of the labels in an automaton.
TCargo
The cargo type that can be attached to the edges.
Metafunctions: Cargo
Default: void
Remarks: Use Cargo to get the cargo type of an undirected graph.
TSpec
The specializing type for the graph.
Metafunctions: Spec
Default: Default, see Default.
Remarks: Use WithoutEdgeId here to omit edge ids. Note: If edges do not store ids external property maps do not work.
Specialization of
Specializations
Word GraphA special automaton that stores words instead of single characters along its edges.
Metafunctions
AlphabetAccess to the Alphabet type. (Graph)
CargoType of additional data stored in an object. (Graph)
EdgeDescriptorType of an object that represents an edge descriptor. (Graph)
EdgeIdHandlerType of an object that represents an Id Manager. (Graph)
EdgeTypeEdge type of a graph object. (Graph)
HostType of the object a given object depends on. (Graph)
IteratorType of iterator objects that are used to traverse the container. (Graph)
SpecThe spec of a class. (Graph)
VertexDescriptorType of an object that represents a vertex descriptor. (Graph)
Functions
addEdgeAdds a new edge to the graph, either with or without cargo. (Graph)
addEdgesShortcut to add multiple edges at once. Creates vertices implicitly. (Graph)
addVertexAdds a new vertex to the graph. (Graph)
all_pairs_shortest_pathFinds shortest paths between all pairs of vertices in a graph. (Graph)
assignRootAssigns a new root vertex to the automaton.
bellman_ford_algorithmComputes shortest paths from a single source in a graph. (Graph)
breadth_first_searchImplements a breadth-first search on a graph. (Graph)
clearResets an object. (Graph)
clearEdgesRemoves all edges in a graph. (Graph)
clearVerticesRemoves all vertices in a graph. (Graph)
createRootCreates the root in a tree or an automaton.
degreeNumber of incident edges for a given vertex. (Graph)
depth_first_searchImplements a depth-first search on a graph. (Graph)
dijkstraComputes shortest paths from a single source in a graph. (Graph)
emptyTest a container for being empty. (Graph)
findEdgeFinds an edge. (Graph)
floyd_warshallFinds shortest paths between all pairs of vertices in a graph. (Graph)
getAdjacencyMatrixReturns an adjacency matrix representation of the graph. (Graph)
getRootGet method for the root of a tree or an automaton.
getSuccessorGets the successor for a given vertex and an edge label. For an automaton a single character is required whereas for a word graph getSuccessor takes a string.
inDegreeNumber of incoming edges for a given vertex. (Graph)
isRootTests whether a given vertex is the root or not.
kruskals_algorithmComputes a minimum spanning tree on a graph. (Graph)
numEdgesNumber of edges in a graph. (Graph)
numVerticesNumber of vertices in a graph. (Graph)
outDegreeNumber of outgoing edges for a given vertex. (Graph)
parseStringParses a string one character at a time and moves accordingly in the automaton.
prims_algorithmComputes a minimum spanning tree on a graph. (Graph)
removeEdgeRemoves an edge from the graph. For automatons a label is required. (Graph)
removeInEdgesRemoves the incoming edges of a given vertex. (Graph)
removeOutEdgesRemoves the outgoing edges of a given vertex. (Graph)
removeVertexRemoves a vertex. (Graph)
resizeEdgeMapInitializes an edge map (Graph)
resizeVertexMapInitializes a vertex map. (Graph)
rootGets a reference to the root of the tree.
sourceVertexReturns the source vertex of an edge. (Graph)
targetVertexReturns the target vertex of an edge. (Graph)
transitive_closureDetermines whether there is a path between any two given vertices or not. (Graph)
transposeTransposes a graph, either in-place or from source to dest. (Graph)
SeqAn - Sequence Analysis Library - www.seqan.de