Package casa.lepton

Class OppNetGraphWalk

java.lang.Object
org.graphstream.graph.implementations.AbstractElement
org.graphstream.graph.implementations.AbstractGraph
org.graphstream.graph.implementations.AdjacencyListGraph
org.graphstream.graph.implementations.MultiGraph
casa.lepton.OppNetGraph
casa.lepton.OppNetGraphWalk
All Implemented Interfaces:
OppNet, OppNetEventsSource, Closeable, AutoCloseable, Iterable<org.graphstream.graph.Node>, Runnable, org.graphstream.graph.Element, org.graphstream.graph.Graph, org.graphstream.graph.Structure, org.graphstream.stream.AttributeSink, org.graphstream.stream.ElementSink, org.graphstream.stream.Pipe, org.graphstream.stream.Replayable, org.graphstream.stream.Sink, org.graphstream.stream.Source

public class OppNetGraphWalk extends OppNetGraph
A OppNetGraph which nodes move using a Walker.
  • Constructor Details

  • Method Details

    • step

      public boolean step()
      Run a simulation step: move nodes using their walker and update edges accordingly.
      Overrides:
      step in class OppNetGraph
      Returns:
      true if this step is not the last one