Junction
constructor(name: String, moleculesInCurrentNode: Map<Biomolecule, Double>, moleculesInNeighborNode: Map<Biomolecule, Double>)
Build a junction.
Parameters
name
the name of the junction.
molecules In Current Node
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.
molecules In Neighbor Node
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
to Clone
the junction to clone.