public class JIPipeGraphRunDataFlowGraph extends org.jgrapht.graph.DefaultDirectedWeightedGraph<Object,org.jgrapht.graph.DefaultWeightedEdge>
JIPipeInputDataSlot
, JIPipeOutputDataSlot
, and JIPipeGraphNode
Used for finding the optimal path through the graph.
Unlike the JIPipeGraphRunGCGraph
, this graph works on verticesModifier and Type | Field and Description |
---|---|
static int |
DATA_FLOW_WEIGHT_HEAVY |
static int |
DATA_FLOW_WEIGHT_INTERNAL |
static int |
DATA_FLOW_WEIGHT_LIGHT |
Constructor and Description |
---|
JIPipeGraphRunDataFlowGraph() |
JIPipeGraphRunDataFlowGraph(JIPipeGraph graph,
Set<JIPipeGraphNode> nodeFilter) |
Modifier and Type | Method and Description |
---|---|
void |
addGraph(JIPipeGraph graph,
Set<JIPipeGraphNode> nodeFilter) |
Object |
getBestNextVertex() |
Set<Object> |
getEndpoints() |
List<Object> |
getNextVertices() |
String |
toString() |
createBuilder, createBuilder
addEdge, addEdge, addVertex, addVertex, clone, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeSource, getEdgeSupplier, getEdgeTarget, getEdgeWeight, getType, getVertexSupplier, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setEdgeSupplier, setEdgeWeight, setVertexSupplier, vertexSet
assertVertexExist, containsEdge, equals, hashCode, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toStringFromSets
public static final int DATA_FLOW_WEIGHT_INTERNAL
public static final int DATA_FLOW_WEIGHT_LIGHT
public static final int DATA_FLOW_WEIGHT_HEAVY
public JIPipeGraphRunDataFlowGraph()
public JIPipeGraphRunDataFlowGraph(JIPipeGraph graph, Set<JIPipeGraphNode> nodeFilter)
public void addGraph(JIPipeGraph graph, Set<JIPipeGraphNode> nodeFilter)
public String toString()
toString
in class org.jgrapht.graph.AbstractGraph<Object,org.jgrapht.graph.DefaultWeightedEdge>
public Object getBestNextVertex()
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.