peersim.core
Interface Control

All Known Implementing Classes:
AverageObserver, BallExpansion, CDScheduler, Clustering, ConnectivityObserver, DegreeStats, DynamicNetwork, FullNextCycle, GraphObserver, GraphPrinter, GraphStats, InetInitializer, InetObserver, InitVectFromFile, KingParser, LBObserver, LinearDistribution, LinearDistributionInitializer, MemoryObserver, MethodInvoker, NextCycle, Normalizer, OscillatingNetwork, PeakDistribution, PeakDistributionInitializer, QuotaObserver, RandRemoval, ResetQuota, Shuffle, SingleValueObserver, TriangularMatrixParser, UniformDistribution, UniformRouterAssignment, ValueDumper, VectAngle, VectControl, VectCopy, VectorObserver, WireByMethod, WireFromFile, WireGraph, WireInetTopology, WireKOut, WireRegRootedTree, WireRingLattice, WireScaleFreeBA, WireScaleFreeDM, WireStar, WireWS

public interface Control

Generic interface for classes that are responsible for observing or modifying the ongoing simulation. It is designed to allow maximal flexibility therefore poses virtually no restrictions on the implementation.


Method Summary
 boolean execute()
          Performs arbitrary modifications or reports arbitrary information over the components.
 

Method Detail

execute

boolean execute()
Performs arbitrary modifications or reports arbitrary information over the components.

Returns:
true if the simulation has to be stopped, false otherwise.