jAER project on SourceForge

ch.unizh.ini.jaer.projects.topology
Class TopologyTracker.Monitor

java.lang.Object
  extended by ch.unizh.ini.jaer.projects.topology.TopologyTracker.Monitor
Enclosing class:
TopologyTracker

public class TopologyTracker.Monitor
extends java.lang.Object

The Monitor class. A monitor knows the structure of the pixels in ahead and can therefore display the progress. Remark: The outer class (TopologyTracker) does not access any non-public fields/methods.


Field Summary
 int DISPLAY_FREQUENCY
           
 Series progress
           
 XYChart progressChart
          The charts
 VectorSeries[] rankedErrors
           
 float time
          The monitor's view
 Series utilization
           
 XYChart utilizationChart
           
 VectorFieldChart vectorChart
           
 
Constructor Summary
TopologyTracker.Monitor()
          Create a new Monitor
 
Method Summary
 void enter(int inputSize, int inputDuration)
          Begin monitoring sequence.
 void exit()
          End monitoring sequence.
 void init()
           
 void neighborChanged(int i, int newNeighbor, int[] neighbors, int rank)
          Event handler on changed neighbor.
 void writeStat()
          Write the stat data to 'topologyLearningStats.csv'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISPLAY_FREQUENCY

public final int DISPLAY_FREQUENCY
See Also:
Constant Field Values

time

public float time
The monitor's view


progress

public Series progress

utilization

public Series utilization

rankedErrors

public VectorSeries[] rankedErrors

progressChart

public XYChart progressChart
The charts


utilizationChart

public XYChart utilizationChart

vectorChart

public VectorFieldChart vectorChart
Constructor Detail

TopologyTracker.Monitor

public TopologyTracker.Monitor()
Create a new Monitor

Method Detail

init

public void init()

enter

public void enter(int inputSize,
                  int inputDuration)
Begin monitoring sequence.


exit

public void exit()
End monitoring sequence.


writeStat

public void writeStat()
Write the stat data to 'topologyLearningStats.csv'.


neighborChanged

public void neighborChanged(int i,
                            int newNeighbor,
                            int[] neighbors,
                            int rank)
Event handler on changed neighbor. Nodes at the border ignore inexistent higher ranked neighbors.


jAER project on SourceForge