|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.util.force.RungeKuttaIntegrator
public class RungeKuttaIntegrator
Updates velocity and position data using the 4th-Order Runge-Kutta method. It is slower but more accurate than other techniques such as Euler's Method. The technique requires re-evaluating forces 4 times for a given timestep.
Constructor Summary | |
---|---|
RungeKuttaIntegrator()
|
Method Summary | |
---|---|
void |
integrate(ForceSimulator sim,
long timestep)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RungeKuttaIntegrator()
Method Detail |
---|
public void integrate(ForceSimulator sim, long timestep)
integrate
in interface Integrator
Integrator.integrate(prefuse.util.force.ForceSimulator, long)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |