Package 

Class AbstractRandomDisplacement

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

    
    public abstract class AbstractRandomDisplacement<P extends Position<out P>>
     implements Displacement<P>
                        
    • Method Summary

      Modifier and Type Method Description
      Stream<P> stream()
      • Methods inherited from class it.unibo.alchemist.loader.displacements.AbstractRandomDisplacement

        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

      • AbstractRandomDisplacement

        AbstractRandomDisplacement(Environment<?, P> environment, RandomGenerator randomGenerator, Integer nodeCount)
        Parameters:
        environment - the Environment
        randomGenerator - the RandomGenerator
        nodeCount - the number of nodes