Interface Incarnation

    • Constructor Detail

    • Method Detail

      • getProperty

         abstract double getProperty(Node<T> node, Molecule molecule, String property)

        Given a Node, a Molecule and a property expressed as a String, returns a numeric value. If a numeric value is not deducible, Double.NaN is returned.

        Parameters:
        node - the node
        molecule - the molecule to analyze
        property - the property to extract
        Returns:

        a numeric value representing the property

      • createConcentration

         abstract T createConcentration(@Nullable() Object descriptor)

        Creates a new concentration object of a specific concrete type.

        Parameters:
        descriptor - the String to parse
        Returns:

        a concentration of a certain concrete type

      • createConcentration

         abstract T createConcentration()

        Creates a new concentration object of a specific concrete type.

        Returns:

        a concentration of a certain concrete type

      • createNode

         abstract Node<T> createNode(RandomGenerator randomGenerator, Environment<T, P> environment, @Nullable() Object parameter)
        Parameters:
        randomGenerator - the random engine
        environment - the environment that will host this object
        parameter - a String describing the object
        Returns:

        a new Node

      • createReaction

         abstract Reaction<T> createReaction(RandomGenerator randomGenerator, Environment<T, P> environment, Node<T> node, TimeDistribution<T> timeDistribution, @Nullable() Object parameter)
        Parameters:
        randomGenerator - the random engine
        environment - the environment that will host this object
        node - the node that will host this object
        timeDistribution - the time distribution of the reaction
        parameter - a String describing the object
        Returns:

        a new Reaction

      • createCondition

         abstract Condition<T> createCondition(RandomGenerator randomGenerator, Environment<T, P> environment, @Nullable() Node<T> node, TimeDistribution<T> time, Actionable<T> actionable, @Nullable() Object additionalParameters)
        Parameters:
        randomGenerator - the random engine
        environment - the environment that will host this object
        node - the node that will host this object.
        time - the time distribution of the reaction
        actionable - the actionable hosting this object
        additionalParameters - a String describing the object
        Returns:

        a new Condition

      • createAction

         abstract Action<T> createAction(RandomGenerator randomGenerator, Environment<T, P> environment, @Nullable() Node<T> node, TimeDistribution<T> time, Actionable<T> actionable, @Nullable() Object additionalParameters)
        Parameters:
        randomGenerator - the random engine
        environment - the environment that will host this object
        node - the node that will host this object.
        time - the time distribution of the reaction
        actionable - the actionable hosting this object
        additionalParameters - a String describing the object
        Returns:

        a new Action