w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel Struct Reference

List of all members.

template<class GridType>
struct w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel


Public Member Functions

 AdvectedPixel ()
 AdvectedPixel (int i, int j, int m, int n, float p, int ox, int oy, float pold)

Static Public Member Functions

static bool same_location (const AdvectedPixel &a, const AdvectedPixel &b)
static void remove_duplicates (std::vector< AdvectedPixel > &pixels)

Public Attributes

short x
short y
short ux
short uy
short origx
short origy
float prob
float origprob

Friends

bool operator< (const AdvectedPixel &a, const AdvectedPixel &b)
 in reverse order of probability (higher prob comes first)

Constructor & Destructor Documentation

template<class GridType>
w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::AdvectedPixel (  )  [inline]

template<class GridType>
w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::AdvectedPixel ( int  i,
int  j,
int  m,
int  n,
float  p,
int  ox,
int  oy,
float  pold 
) [inline]


Member Function Documentation

template<class GridType>
static void w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::remove_duplicates ( std::vector< AdvectedPixel > &  pixels  )  [static]

template<class GridType>
static bool w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::same_location ( const AdvectedPixel a,
const AdvectedPixel b 
) [inline, static]


Friends And Related Function Documentation

template<class GridType>
bool operator< ( const AdvectedPixel a,
const AdvectedPixel b 
) [friend]

in reverse order of probability (higher prob comes first)


Member Data Documentation

template<class GridType>
float w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::origprob

template<class GridType>
short w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::origx

template<class GridType>
short w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::origy

template<class GridType>
float w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::prob

template<class GridType>
short w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::ux

template<class GridType>
short w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::uy

template<class GridType>
short w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::x

template<class GridType>
short w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::y


Generated on Fri May 4 13:40:24 2012 for WDSS-IIw2algs by  doxygen 1.4.7