Public Member Functions | |
| bool | operator< (const Shuffle &) const |
| compares this shuffle with the other one | |
| void | operator+= (unsigned int shift) |
Public Attributes | |
| unsigned int | x |
| unsigned int | y |
| Point * | point |
Definition at line 119 of file ClosestPair2D.hh.
|
|
Definition at line 124 of file ClosestPair2D.hh.
|
|
|
compares this shuffle with the other one
Definition at line 64 of file ClosestPair2D.cc. References fastjet::floor_ln2_less(), x, and y. 00064 {
00065
00066 if (floor_ln2_less(x ^ q.x, y ^ q.y)) {
00067 // i = 2 in Chan's algorithm
00068 return (y < q.y);
00069 } else {
00070 // i = 1 in Chan's algorithm
00071 return (x < q.x);
00072 }
00073 }
|
|
|
Definition at line 122 of file ClosestPair2D.hh. Referenced by fastjet::ClosestPair2D::_point2shuffle(). |
|
|
Definition at line 121 of file ClosestPair2D.hh. Referenced by fastjet::ClosestPair2D::_point2shuffle(), and operator<(). |
|
|
Definition at line 121 of file ClosestPair2D.hh. Referenced by fastjet::ClosestPair2D::_point2shuffle(), and operator<(). |
1.4.2