prob_3
Class P3_Model_a

java.lang.Object
  extended by prob_3.P3_Model_a

public class P3_Model_a
extends java.lang.Object

The model for problem #2.


Constructor Summary
P3_Model_a()
          Construct an instance of the model class.
 
Method Summary
 java.util.ArrayList<java.util.ArrayList<java.lang.Double>> get_values()
           
 void Print()
           
 void reset(double v0_value, double v1_value, double s_value)
           
 void run()
          Run the model until the time is finished, storing the time step values into the "values" array.
 void set_time_range(double start_t, double end_t)
           
 void set_time_step(double dt)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

P3_Model_a

public P3_Model_a()
Construct an instance of the model class.

Method Detail

run

public void run()
Run the model until the time is finished, storing the time step values into the "values" array.


reset

public void reset(double v0_value,
                  double v1_value,
                  double s_value)

set_time_step

public void set_time_step(double dt)

set_time_range

public void set_time_range(double start_t,
                           double end_t)

get_values

public java.util.ArrayList<java.util.ArrayList<java.lang.Double>> get_values()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Print

public void Print()