public class ReactionGraph extends bio.singa.mathematics.graphs.model.DirectedWeightedGraph<ReactionGraphNode,ReactionGraphEdge>
| Constructor and Description |
|---|
ReactionGraph() |
| Modifier and Type | Method and Description |
|---|---|
int |
addEdgeBetween(int identifier,
ReactionGraphNode source,
ReactionGraphNode target) |
int |
addEdgeBetween(ReactionGraphNode source,
ReactionGraphNode target) |
ReactionGraphNode |
addNode(ChemicalEntity entity) |
Optional<ReactionGraphNode> |
getNodeWithContent(ChemicalEntity content) |
nextNodeIdentifieraddEdgeBetween, addNode, containsEdge, containsNode, getEdge, getEdges, getMaximumDegree, getNode, getNodes, nextEdgeIdentifier, removeEdge, removeEdge, removeNode, removeNode, toStringpublic Optional<ReactionGraphNode> getNodeWithContent(ChemicalEntity content)
public ReactionGraphNode addNode(ChemicalEntity entity)
public int addEdgeBetween(int identifier,
ReactionGraphNode source,
ReactionGraphNode target)
addEdgeBetween in interface bio.singa.mathematics.graphs.model.Graph<ReactionGraphNode,ReactionGraphEdge,Integer>addEdgeBetween in class bio.singa.mathematics.graphs.model.AbstractMapGraph<ReactionGraphNode,ReactionGraphEdge,bio.singa.mathematics.vectors.Vector2D,Integer>public int addEdgeBetween(ReactionGraphNode source, ReactionGraphNode target)
addEdgeBetween in interface bio.singa.mathematics.graphs.model.Graph<ReactionGraphNode,ReactionGraphEdge,Integer>addEdgeBetween in class bio.singa.mathematics.graphs.model.AbstractMapGraph<ReactionGraphNode,ReactionGraphEdge,bio.singa.mathematics.vectors.Vector2D,Integer>Copyright © 2019. All rights reserved.