#include <run_avg.H>
Collaboration diagram for RunningAvg< T >:
Public Member Functions | |
RunningAvg (const T &null) | |
RunningAvg (const T &null, const T &v) | |
void | add (const T &v) |
const T & | val () const |
int | num () const |
Protected Attributes | |
T | _val |
int | _num |
Definition at line 13 of file run_avg.H.
|
|
|
Definition at line 16 of file run_avg.H. References RunningAvg< T >::add(). |
|
Definition at line 19 of file run_avg.H. References RunningAvg< T >::_num, and RunningAvg< T >::_val. Referenced by Bedge::avg_area(), avg_bface_pix_area(), ELLIPSE::avg_dist(), avg_face_edge_len(), avg_strong_edge_len(), avg_strong_len(), and RunningAvg< T >::RunningAvg(). |
|
Definition at line 32 of file run_avg.H. References RunningAvg< T >::_num. Referenced by Bedge::avg_area(). |
|
Definition at line 29 of file run_avg.H. References RunningAvg< T >::_val. Referenced by Bedge::avg_area(), avg_bface_pix_area(), ELLIPSE::avg_dist(), avg_face_edge_len(), avg_strong_edge_len(), and avg_strong_len(). |
|
Definition at line 36 of file run_avg.H. Referenced by RunningAvg< T >::add(), and RunningAvg< T >::num(). |
|
Definition at line 35 of file run_avg.H. Referenced by RunningAvg< T >::add(), and RunningAvg< T >::val(). |