Class AbstractReaction

  • All Implemented Interfaces:
    it.unibo.alchemist.model.Actionable , it.unibo.alchemist.model.Reaction , java.io.Serializable , java.lang.Comparable

    
    public abstract class AbstractReaction<T>
     implements Reaction<T>
                        

    The type which describes the concentration of a molecule. This class offers a partial implementation of Reaction. In particular, it allows to write new reaction specifying only which distribution time to adopt

    • Constructor Detail

      • AbstractReaction

        AbstractReaction(Node<T> node, TimeDistribution<T> timeDistribution)
        Builds a new reaction, starting at time t.
        Parameters:
        node - the node this reaction belongs to
        timeDistribution - the time distribution this reaction should follow