org.graphstream.boids.forces.greedy
Class GreedyForces

java.lang.Object
  extended by org.graphstream.boids.BoidForces
      extended by org.graphstream.boids.forces.greedy.GreedyForces

public class GreedyForces
extends BoidForces


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

GreedyForces

public GreedyForces(Boid b)
Method Detail

getPosition

public org.miv.pherd.geom.Point3 getPosition()
Specified by:
getPosition in class BoidForces

setPosition

public void setPosition(double x,
                        double y,
                        double z)
Specified by:
setPosition in class BoidForces

getNeighborhood

public Collection<Boid> getNeighborhood()
Specified by:
getNeighborhood in class BoidForces

getNextPosition

public org.miv.pherd.geom.Point3 getNextPosition()
Specified by:
getNextPosition in class BoidForces


Copyright © 2013. All Rights Reserved.