prefuse.util.force
Class EulerIntegrator

java.lang.Object
  extended by prefuse.util.force.EulerIntegrator
All Implemented Interfaces:
Integrator

public class EulerIntegrator
extends java.lang.Object
implements Integrator

Updates velocity and position data using Euler's Method. This is the simplest and fastest method, but is somewhat inaccurate and less smooth than more costly approaches.

Author:
jeffrey heer
See Also:
RungeKuttaIntegrator

Constructor Summary
EulerIntegrator()
           
 
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

EulerIntegrator

public EulerIntegrator()
Method Detail

integrate

public void integrate(ForceSimulator sim,
                      long timestep)
Specified by:
integrate in interface Integrator
See Also:
Integrator.integrate(prefuse.util.force.ForceSimulator, long)


Copyright © 2007 Regents of the University of California