#include <hypothesis2D.h>
Inheritance diagram for mimas::hf::hypothesis2D:
Public Member Functions | |
hypothesis2D | drift (void) const |
carefull some memory is allocated with this function !! | |
hypothesis2D | mean (const hypothesis2D &h) |
!!might be implemented as a type trait so s.o. who don't | |
float | distance (const hypothesis2D &h) |
hypothesis2D (float x=0, float y=0, double weight=0) | |
Public Attributes | |
float | x |
float | y |
Static Public Attributes | |
static float | sigmaSpan |
float sigmaSpan;///<Don't forget to change this value according to the desired drift Don't forget to change this value according to the desired drift |
if the object has a transversal movement for instance
Definition at line 23 of file hypothesis2D.h.
mimas::hf::hypothesis2D::hypothesis2D | ( | float | x = 0 , |
|
float | y = 0 , |
|||
double | weight = 0 | |||
) | [inline] |
hypothesis2D mimas::hf::hypothesis2D::drift | ( | void | ) | const [inline] |
carefull some memory is allocated with this function !!
Definition at line 33 of file hypothesis2D.h.
References Dice::gaussian_random(), hypothesis2D(), sigmaSpan, mimas::hf::hypothesis::weight, x, and y.
Here is the call graph for this function:
hypothesis2D mimas::hf::hypothesis2D::mean | ( | const hypothesis2D & | h | ) | [inline] |
!!might be implemented as a type trait so s.o. who don't
Definition at line 44 of file hypothesis2D.h.
References hypothesis2D(), mimas::hf::hypothesis::weight, x, and y.
Here is the call graph for this function:
float mimas::hf::hypothesis2D::distance | ( | const hypothesis2D & | h | ) | [inline] |
Definition at line 26 of file hypothesis2D.h.
Referenced by distance(), mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::draw(), drift(), and mean().
Definition at line 27 of file hypothesis2D.h.
Referenced by distance(), mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::draw(), drift(), and mean().
float mimas::hf::hypothesis2D::sigmaSpan [static] |
float sigmaSpan;///<Don't forget to change this value according to the desired drift Don't forget to change this value according to the desired drift
Definition at line 29 of file hypothesis2D.h.
Referenced by drift().