DAS  3.0
Das Analysis System
ClosestPair2D::Shuffle
+ Collaboration diagram for ClosestPair2D::Shuffle:

Public Member Functions

bool operator< (const Shuffle &) const
 
void operator+= (unsigned int shift)
 

Public Attributes

unsigned int x
 
unsigned int y
 
Pointpoint
 

Member Function Documentation

◆ operator+=()

void operator+= ( unsigned int  shift)
inline
776 {x += shift; y+= shift;};

◆ operator<()

bool operator< ( const Shuffle q) const
1182  {
1183  if (floor_ln2_less(x ^ q.x, y ^ q.y)) {
1184  return (y < q.y);
1185  } else {
1186  return (x < q.x);
1187  }
1188 }

Member Data Documentation

◆ point

Point* point

◆ x

unsigned int x

◆ y

unsigned int y

The documentation for this class was generated from the following file:
ClosestPair2D::Shuffle::y
unsigned int y
Definition: fjcore.cc:773
ClosestPair2D::Shuffle::x
unsigned int x
Definition: fjcore.cc:773
floor_ln2_less
bool floor_ln2_less(unsigned x, unsigned y)
Definition: fjcore.cc:813