|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.graphstream.boids.BoidForces
org.graphstream.boids.forces.greedy.GreedyForces
public class GreedyForces
| Field Summary |
|---|
| Fields inherited from class org.graphstream.boids.BoidForces |
|---|
attraction, barycenter, countAtt, countRep, direction, repulsion |
| Constructor Summary | |
|---|---|
GreedyForces(Boid b)
|
|
| Method Summary | |
|---|---|
Collection<Boid> |
getNeighborhood()
|
org.miv.pherd.geom.Point3 |
getNextPosition()
|
org.miv.pherd.geom.Point3 |
getPosition()
|
void |
setPosition(double x,
double y,
double z)
|
| Methods inherited from class org.graphstream.boids.BoidForces |
|---|
addAttraction, addDirection, addRepulsion, compute, getDirection, isVisible, moveBarycenter |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GreedyForces(Boid b)
| Method Detail |
|---|
public org.miv.pherd.geom.Point3 getPosition()
getPosition in class BoidForces
public void setPosition(double x,
double y,
double z)
setPosition in class BoidForcespublic Collection<Boid> getNeighborhood()
getNeighborhood in class BoidForcespublic org.miv.pherd.geom.Point3 getNextPosition()
getNextPosition in class BoidForces
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||