Package 

Interface PhysicalNode

  • All Implemented Interfaces:
    it.unibo.alchemist.model.interfaces.Node , it.unibo.alchemist.model.interfaces.nodes.NodeWithShape , java.io.Serializable , kotlin.Comparable , kotlin.collections.Iterable , kotlin.collections.MutableIterable

    
    public interface PhysicalNode<T extends Object, P extends Position<P>, Vector<P>, A extends GeometricTransformation<P>, F extends GeometricShapeFactory<P, A>>
     implements NodeWithShape<T, P, A>
                        

    A NodeWithShape capable of interacting physically with others (e.g. bumping into each other). Each physical node is responsible for the computation of the physical forces to which it is subject.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract List<P> physicalForces(PhysicsEnvironment<T, P, A, F> environment)
      abstract GeometricShape<P, A> getShape()
      • Methods inherited from class it.unibo.alchemist.model.interfaces.nodes.NodeWithShape

        addReaction, cloneNode, contains, getConcentration, getContents, getId, getMoleculeCount, getReactions, removeConcentration, removeReaction, setConcentration
      • Methods inherited from class it.unibo.alchemist.model.interfaces.Node

        compareTo, iterator
      • Methods inherited from class kotlin.collections.MutableIterable

        forEach, spliterator
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait