| Package | Description |
|---|---|
| org.graphstream.boids | |
| org.graphstream.boids.forces.greedy | |
| org.graphstream.boids.forces.ntree |
| Modifier and Type | Method and Description |
|---|---|
BoidGraph |
BoidGenerator.getBoidGraph()
Get the boid graph used by this generator to produce events.
|
| Modifier and Type | Method and Description |
|---|---|
double |
Probability.getProbability(BoidGraph graph,
Boid b,
int age)
Associate a probability with a given boid according to various parameters.
|
double |
Probability.ConstantProbability.getProbability(BoidGraph ctx,
Boid b,
int age) |
double |
Probability.DeathProbability.getProbability(BoidGraph ctx,
Boid b,
int age) |
| Constructor and Description |
|---|
BoidSpecies(BoidGraph ctx,
String name)
New default species with a random color.
|
DemographicManager.SpeciesDemographicManager(BoidSpecies species,
BoidGraph ctx) |
DemographicManager.SpeciesDemographicManager(BoidSpecies species,
BoidGraph ctx,
Probability r,
Probability d) |
DemographicManager(BoidGraph ctx) |
DemographicManager(BoidGraph ctx,
Probability reproduceProbability,
Probability deathProbability) |
| Constructor and Description |
|---|
GreedyForcesFactory(BoidGraph ctx) |
| Constructor and Description |
|---|
BoidParticle(BoidGraph ctx,
Boid b)
New particle.
|
NTreeForcesFactory(BoidGraph ctx) |
NTreeForcesFactory(BoidGraph ctx,
boolean is3D) |
Copyright © 2015. All rights reserved.