java.lang.Object
kieker.analysis.generic.graph.traversal.AbstractGraphTraverser<N,E>
- Type Parameters:
N
- node typeE
- edge type
- Direct Known Subclasses:
DeepGraphTraverser
,FlatGraphTraverser
public abstract class AbstractGraphTraverser<N extends INode,E extends IEdge>
extends java.lang.Object
- Since:
- 1.14
- Author:
- Sören Henning
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<IEdgeVisitor<E>>
edgeVisitors
protected java.util.List<INodeVisitor<N>>
nodeVisitors
-
Constructor Summary
Constructors Constructor Description AbstractGraphTraverser()
AbstractGraphTraverser(java.util.List<INodeVisitor<N>> nodeVisitors, java.util.List<IEdgeVisitor<E>> edgeVisitors)
AbstractGraphTraverser(INodeVisitor<N> nodeVisitor, IEdgeVisitor<E> edgeVisitor)
-
Method Summary
Modifier and Type Method Description void
addEdgeVisitor(IEdgeVisitor<E> edgeVisitor)
void
addNodeVisitor(INodeVisitor<N> nodeVisitor)
java.util.List<IEdgeVisitor<E>>
getEdgeVisitors()
java.util.List<INodeVisitor<N>>
getNodeVisitors()
void
setEdgeVisitors(java.util.List<IEdgeVisitor<E>> edgeVisitors)
void
setNodeVisitors(java.util.List<INodeVisitor<N>> nodeVisitors)
abstract void
traverse(com.google.common.graph.MutableNetwork<N,E> graph)
-
Field Details
-
Constructor Details
-
AbstractGraphTraverser
public AbstractGraphTraverser() -
AbstractGraphTraverser
-
AbstractGraphTraverser
public AbstractGraphTraverser(java.util.List<INodeVisitor<N>> nodeVisitors, java.util.List<IEdgeVisitor<E>> edgeVisitors)
-
-
Method Details