Class RemoveJunctionInNeighbor

  • All Implemented Interfaces:
    it.unibo.alchemist.model.Action , java.io.Serializable

    
    public final class RemoveJunctionInNeighbor
    extends AbstractNeighborAction<T>
                        

    Represent the action of removing a junction between a neighbor and the current node. This action only remove the junction reference inside the neighbor node, the current one totally ignore that a junction has been removed. This is a part of the junction removal process. See RemoveJunctionInCell for the other part of the process.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      RemoveJunctionInNeighbor cloneAction(Node<Double> node, Reaction<Double> reaction)
      void execute() If no target node is given DO NOTHING.
      void execute(Node<Double> targetNode) Execute the action on the given target node.
      String toString()
      • Methods inherited from class it.unibo.alchemist.model.biochemistry.actions.AbstractNeighborAction

        getContext
      • Methods inherited from class it.unibo.alchemist.model.actions.AbstractAction

        getOutboundDependencies
      • Methods inherited from class it.unibo.alchemist.model.Action

        cloneAction, execute, getContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RemoveJunctionInNeighbor

        RemoveJunctionInNeighbor(Environment<Double, out Object> environment, Node<Double> node, Junction junction, RandomGenerator randomGenerator)
        Parameters:
        environment - the environment
        node - the node
        junction - junction to remove
        randomGenerator - the random generator