#include <Inertia.h>
Membres publics | |
Inertia () | |
void | Start (double _viewTime=0.5, double _inertiaTime=0.1) |
void | Add (Point2D< int > element) |
Point2D< double > | GetMoyValue () |
Attributs Privés | |
MyStack< ElemStack > | stack |
Timer | timer |
double | viewTime |
double | inertiaTime |
Remarque :
Principe de distrubution:
Ex.:
Inertia<int,double> inertia; int moy; inertia.Start(5,10); // 5sec ... inertia.Add(2); ... inertia.Add(5); ... moy=GetMoyValue();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|