public class IndependentUpdate extends Object implements UpdateScope
ConcentrationBasedModules require the integer state of the currently calculated
Updatable. Therefore the update for the current updatable can be calculated and instantly compared with the
associated half step delta (e.g. Reaction).| Constructor and Description |
|---|
IndependentUpdate(ConcentrationBasedModule module)
Initializes the update scope for the corresponding module.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearPotentialDeltas(Updatable updatable)
Clears all concentration deltas that may be assigned to the given updatable.
|
ConcentrationContainer |
getHalfStepConcentration(Updatable updatable)
Return the half step concentration of a node after the full update has been calculated for the full step and the
resulting delta is known.
|
void |
processAllUpdatables(Collection<Updatable> updatables)
Processes all given updatables.
|
void |
processUpdatable(Updatable updatable)
Calculates the given updatable.
|
public IndependentUpdate(ConcentrationBasedModule module)
module - The module.public void processAllUpdatables(Collection<Updatable> updatables)
UpdateScopeprocessAllUpdatables in interface UpdateScopeupdatables - The updatables to be processed.public void processUpdatable(Updatable updatable)
UpdateScopeprocessUpdatable in interface UpdateScopeupdatable - The updatable.public void clearPotentialDeltas(Updatable updatable)
UpdateScopeclearPotentialDeltas in interface UpdateScopeupdatable - The updatable.public ConcentrationContainer getHalfStepConcentration(Updatable updatable)
UpdateScopegetHalfStepConcentration in interface UpdateScopeupdatable - The updatable.Copyright © 2018. All rights reserved.