Package 

Class GraphStreamDisplacement

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

    
    public final class GraphStreamDisplacement<T extends Object, P extends Position<out P>>
     implements Displacement<P>
                        

    A deployment based on a GraphStream graph.

    • Constructor Summary

      Constructors 
      Constructor Description
      GraphStreamDisplacement(Environment<T, P> environment, RandomGenerator randomGenerator, Integer nodeCount, Double layoutQuality, Boolean createLinks, String generatorName, Object parameters) Builds a new GraphStream-based deployment, given the nodeCount, whether or not the arcs of such graph shoud be links (createLinks), the generatorName (must be the name of a subclass of BaseGenerator), and its parameters.
      GraphStreamDisplacement(Boolean createLinks, GraphStreamSupport<T, P> graphStreamSupport)
    • Method Summary

      Modifier and Type Method Description
      final LinkingRule<T, P> getAssociatedLinkingRule() The LinkingRule associated with this GraphStreamDisplacement, or null if the displacement has been created without static linking.
      • Methods inherited from class it.unibo.alchemist.loader.displacements.GraphStreamDisplacement

        iterator, stream
      • 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

      • GraphStreamDisplacement

        GraphStreamDisplacement(Environment<T, P> environment, RandomGenerator randomGenerator, Integer nodeCount, Double layoutQuality, Boolean createLinks, String generatorName, Object parameters)
        Builds a new GraphStream-based deployment, given the nodeCount, whether or not the arcs of such graph shoud be links (createLinks), the generatorName (must be the name of a subclass of BaseGenerator), and its parameters.