public abstract class AcReactionSetConverter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ArtificialChemistryUtil |
acUtil |
protected AcReplicator |
replicator |
| Constructor and Description |
|---|
AcReactionSetConverter(AcReactionSet inputReactionSet) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addReactions(Collection<AcReaction> newReactions,
AcReactionGroup originalReactionGroup) |
protected void |
addSpecies(Collection<AcReaction> newReactions) |
AcReactionSet |
convert() |
protected abstract Collection<AcReaction> |
convert(AcReaction inputReaction) |
protected Collection<AcReaction> |
getInputReactions() |
protected AcReactionSet |
getInputReactionSet() |
protected AcSpeciesSet |
getInputSpeciesSet() |
protected AcSpeciesSet |
getOutputSpeciesSet() |
protected abstract boolean |
isConvertible(AcReaction inputReaction) |
protected void |
removeReaction(AcReaction reaction) |
protected void |
validate() |
protected abstract void |
validate(AcReaction reaction) |
protected final ArtificialChemistryUtil acUtil
protected final AcReplicator replicator
public AcReactionSetConverter(AcReactionSet inputReactionSet)
protected void validate()
public AcReactionSet convert()
protected void addReactions(Collection<AcReaction> newReactions, AcReactionGroup originalReactionGroup)
protected void addSpecies(Collection<AcReaction> newReactions)
protected void removeReaction(AcReaction reaction)
protected abstract void validate(AcReaction reaction)
protected abstract Collection<AcReaction> convert(AcReaction inputReaction)
protected abstract boolean isConvertible(AcReaction inputReaction)
protected AcSpeciesSet getOutputSpeciesSet()
protected AcReactionSet getInputReactionSet()
protected Collection<AcReaction> getInputReactions()
protected AcSpeciesSet getInputSpeciesSet()
Copyright © 2019. All Rights Reserved.