public class JIPipeGraphRunGCGraph extends org.jgrapht.graph.DefaultDirectedGraph<Object,org.jgrapht.graph.DefaultEdge>
JIPipeInputDataSlot
, JIPipeOutputDataSlot
, and JIPipeGraphNode
Unlike the JIPipeGraphRunDataFlowGraph
, this graph works on edgesModifier and Type | Class and Description |
---|---|
static class |
JIPipeGraphRunGCGraph.GCEvent |
static class |
JIPipeGraphRunGCGraph.GCEventEmitter |
static interface |
JIPipeGraphRunGCGraph.GCEventListener |
Constructor and Description |
---|
JIPipeGraphRunGCGraph() |
JIPipeGraphRunGCGraph(JIPipeGraph graph,
Set<JIPipeGraphNode> nodeFilter) |
Modifier and Type | Method and Description |
---|---|
void |
addGraph(JIPipeGraph graph,
Set<JIPipeGraphNode> nodeFilter) |
void |
gc(JIPipeProgressInfo progressInfo) |
JIPipeGraphRunGCGraph.GCEventEmitter |
getGcEventEmitter() |
void |
removeInputToNodeEdge(JIPipeAlgorithm algorithm,
JIPipeProgressInfo progressInfo) |
void |
removeNodeToOutputEdge(JIPipeOutputDataSlot outputDataSlot,
JIPipeProgressInfo progressInfo) |
void |
removeOutputToInputEdge(JIPipeDataSlot outputSlot,
JIPipeInputDataSlot inputSlot,
JIPipeProgressInfo progressInfo)
Removes a connection from the targeted output slot to the input, which will free up the output slot at some point
|
String |
toString() |
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 JIPipeGraphRunGCGraph()
public JIPipeGraphRunGCGraph(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.DefaultEdge>
public void removeOutputToInputEdge(JIPipeDataSlot outputSlot, JIPipeInputDataSlot inputSlot, JIPipeProgressInfo progressInfo)
outputSlot
- the output slotinputSlot
- the input slotprogressInfo
- the progress infopublic void removeNodeToOutputEdge(JIPipeOutputDataSlot outputDataSlot, JIPipeProgressInfo progressInfo)
public void removeInputToNodeEdge(JIPipeAlgorithm algorithm, JIPipeProgressInfo progressInfo)
public void gc(JIPipeProgressInfo progressInfo)
public JIPipeGraphRunGCGraph.GCEventEmitter getGcEventEmitter()
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.