org.graphstream.boids
Interface BoidGraphListener

All Known Implementing Classes:
DemographicManager, DemographicManager.SpeciesDemographicManager

public interface BoidGraphListener

Listener for boids specific events on the boid graph.

These are not GraphStream events.

Author:
Guilhelm Savin, Antoine Dutot

Method Summary
 void boidAdded(Boid boid)
          One boid was added.
 void boidDeleted(Boid boid)
          One boid was removed.
 void step(double time)
          One iteration passed.
 

Method Detail

step

void step(double time)
One iteration passed. During an iteration, all boids are moved according to their forces model.

Parameters:
time - The current iteration time.

boidAdded

void boidAdded(Boid boid)
One boid was added.

Parameters:
boid - The added boid.

boidDeleted

void boidDeleted(Boid boid)
One boid was removed.

Parameters:
boid - The removed boid.


Copyright © 2013. All Rights Reserved.