fern.network.creation
Interface CatalystIterator
- All Known Implementing Classes:
- AutocatalyticNetwork
public interface CatalystIterator
A CatalystIterator is used to enumerate the catalysts of a reaction in
an AutocatalyticNetwork. For instance the AutocatalyticNetworkDetection
uses it to be able to walk from reactions to their catalysts in its breadth first searches.
- Author:
- Florian Erhard
getCatalysts
Iterable<Integer> getCatalysts(int reaction)
- Gets the indices of the catalysts of a reaction.
- Parameters:
reaction - the index of the reaction
- Returns:
- catalysts of the reaction