Class RandomPolarization
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action
,java.io.Serializable
public final class RandomPolarization extends AbstractRandomizableAction<T>
Polarizes a CellProperty in a random direction.
-
-
Constructor Summary
Constructors Constructor Description RandomPolarization(Environment<Double, Euclidean2DPosition> environment, Node<Double> node, RandomGenerator random)
-
Method Summary
Modifier and Type Method Description void
execute()
Context
getContext()
RandomPolarization
cloneAction(Node<Double> node, Reaction<Double> reaction)
-
-
Constructor Detail
-
RandomPolarization
RandomPolarization(Environment<Double, Euclidean2DPosition> environment, Node<Double> node, RandomGenerator random)
- Parameters:
environment
- the environmentnode
- the noderandom
- the RandomGenerator
-
-
Method Detail
-
execute
void execute()
-
getContext
Context getContext()
-
cloneAction
RandomPolarization cloneAction(Node<Double> node, Reaction<Double> reaction)
-
-
-
-