Class ProtelisIncarnation
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Incarnation
public final class ProtelisIncarnation<P extends Position<P>> implements Incarnation<T, P>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ProtelisIncarnation.ProtectedExecutionEnvironment
An ExecutionEnvironment that can read and shadow the content of a Node, but cannot modify it. This is used to prevent badly written properties to interact with the simulation flow.
-
Field Summary
Fields Modifier and Type Field Description public final static String
VALUE_TOKEN
public final static ProtelisIncarnation<out Object>
INSTANCE
-
Constructor Summary
Constructors Constructor Description ProtelisIncarnation()
-
Method Summary
Modifier and Type Method Description Action<Object>
createAction(RandomGenerator randomGenerator, Environment<Object, P> environment, Node<Object> node, TimeDistribution<Object> time, Actionable<Object> actionable, @Nullable() Object additionalParameters)
Object
createConcentration(@Nullable() Object descriptor)
Object
createConcentration()
Condition<Object>
createCondition(RandomGenerator randomGenerator, Environment<Object, P> environment, Node<Object> node, TimeDistribution<Object> time, Actionable<Object> actionable, @Nullable() Object additionalParameters)
Molecule
createMolecule(String s)
Node<Object>
createNode(RandomGenerator randomGenerator, Environment<Object, P> environment, @Nullable() Object parameter)
Reaction<Object>
createReaction(RandomGenerator randomGenerator, Environment<Object, P> environment, Node<Object> node, TimeDistribution<Object> timeDistribution, @Nullable() Object parameter)
TimeDistribution<Object>
createTimeDistribution(RandomGenerator randomGenerator, Environment<Object, P> environment, Node<Object> node, @Nullable() Object parameter)
double
getProperty(Node<Object> node, Molecule molecule, String property)
String
toString()
-
-
Method Detail
-
createAction
Action<Object> createAction(RandomGenerator randomGenerator, Environment<Object, P> environment, Node<Object> node, TimeDistribution<Object> time, Actionable<Object> actionable, @Nullable() Object additionalParameters)
-
createConcentration
Object createConcentration(@Nullable() Object descriptor)
-
createConcentration
Object createConcentration()
-
createCondition
Condition<Object> createCondition(RandomGenerator randomGenerator, Environment<Object, P> environment, Node<Object> node, TimeDistribution<Object> time, Actionable<Object> actionable, @Nullable() Object additionalParameters)
-
createMolecule
Molecule createMolecule(String s)
-
createNode
Node<Object> createNode(RandomGenerator randomGenerator, Environment<Object, P> environment, @Nullable() Object parameter)
-
createReaction
Reaction<Object> createReaction(RandomGenerator randomGenerator, Environment<Object, P> environment, Node<Object> node, TimeDistribution<Object> timeDistribution, @Nullable() Object parameter)
-
createTimeDistribution
TimeDistribution<Object> createTimeDistribution(RandomGenerator randomGenerator, Environment<Object, P> environment, Node<Object> node, @Nullable() Object parameter)
-
getProperty
double getProperty(Node<Object> node, Molecule molecule, String property)
-
-
-
-