Package 

Class CloseToAlreadyDisplaced

  • All Implemented Interfaces:
    it.unibo.alchemist.loader.displacements.Displacement , kotlin.collections.Iterable , kotlin.collections.MutableIterable

    
    public final class CloseToAlreadyDisplaced<T extends Object, P extends Position<P>>
    extends AbstractCloseTo<T, P>
                        

    This Displacement places new nodes in the proximity of those already included in the environment. Behaviour if there are no nodes already inserted is undefined.

    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class it.unibo.alchemist.loader.displacements.CloseToAlreadyDisplaced

        stream
      • Methods inherited from class it.unibo.alchemist.loader.displacements.AbstractCloseTo

        iterator
      • Methods inherited from class kotlin.collections.Iterable

        equals, hashCode, toString
      • 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
    • Constructor Detail

      • CloseToAlreadyDisplaced

        CloseToAlreadyDisplaced(RandomGenerator randomGenerator, Environment<T, P> environment, Integer nodeCount, Double variance)