Class AbstractCloseTo

  • All Implemented Interfaces:
    it.unibo.alchemist.loader.deployments.Deployment , kotlin.collections.Iterable , kotlin.collections.MutableIterable

    
    public abstract class AbstractCloseTo<T extends Object, P extends Position<P>>
     implements Deployment<P>
                        

    A generic Deployment that displaces a certain nodeCount of nodes in the proximity of a number of sources. Higher variance implies higher dispersion. Subclasses must identify the sources

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractCloseTo(RandomGenerator randomGenerator, Environment<T, P> environment, Integer nodeCount, Double variance)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

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

        getAssociatedLinkingRule, iterator
      • Methods inherited from class kotlin.collections.Iterable

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

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

      • AbstractCloseTo

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