Class GraphProducer
- java.lang.Object
-
- de.unirostock.sems.bives.algorithm.GraphProducer
-
public abstract class GraphProducer extends Object
The Class GraphProducer to produce graphs from models.- Author:
- Martin Scharm
-
-
Field Summary
Fields Modifier and Type Field Description protected HierarchyNetwork
hn
The hierarchy network.protected ReactionNetwork
rn
The reaction network.protected boolean
single
The single flag.
-
Constructor Summary
Constructors Constructor Description GraphProducer(boolean single)
Instantiates a new graph producer.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ReactionNetwork
getCRN()
Deprecated.As of 1.3.3 replaced bygetReactionNetwork()
HierarchyNetwork
getHierarchy()
Gets the hierarchy network graph.ReactionNetwork
getReactionNetwork()
Gets the reaction network graph.protected abstract void
produceHierarchyGraph()
Produce hierarchy graph.protected abstract void
produceReactionNetwork()
Produce the reaction network.
-
-
-
Field Detail
-
single
protected boolean single
The single flag.
-
rn
protected ReactionNetwork rn
The reaction network.
-
hn
protected HierarchyNetwork hn
The hierarchy network.
-
-
Method Detail
-
getCRN
@Deprecated public ReactionNetwork getCRN()
Deprecated.As of 1.3.3 replaced bygetReactionNetwork()
Gets the chemical reaction network graph. Calling it for the first time takes a bit longer to compute the network ;-) Might return null if not available.- Returns:
- the produced chemical reaction network
-
getReactionNetwork
public ReactionNetwork getReactionNetwork()
Gets the reaction network graph. Calling it for the first time takes a bit longer to compute the network ;-) Might return null if not available.- Returns:
- the produced reaction network
-
getHierarchy
public HierarchyNetwork getHierarchy()
Gets the hierarchy network graph. Calling it for the first time takes a bit longer to compute the network ;-) Might return null if not available.- Returns:
- the hierarchy network
-
produceReactionNetwork
protected abstract void produceReactionNetwork()
Produce the reaction network.
-
produceHierarchyGraph
protected abstract void produceHierarchyGraph()
Produce hierarchy graph.
-
-