Junction
constructor(name: String, moleculesInCurrentNode: Map<Biomolecule, Double>, moleculesInNeighborNode: Map<Biomolecule, Double>)(source)
Build a junction.
Parameters
name
the name of the junction.
moleculesInCurrentNode
A map of molecules (with their concentration) which was in the current node. When the junction is removed the molecules will be released in the current node.
moleculesInNeighborNode
A map of molecules (with their concentration) which was in the current node. When the junction is removed the molecules will be released in the current node.
Builds a junction from another junction.
Parameters
toClone
the junction to clone.