FastJet 3.4.3
|
#include <fastjet/internal/ClosestPair2DBase.hh>
Public Member Functions | |
virtual void | closest_pair (unsigned int &ID1, unsigned int &ID2, double &distance2) const =0 |
provides the IDs of the closest pair as well as the squared distance between them | |
virtual void | remove (unsigned int ID)=0 |
removes the entry labelled by ID from the object; | |
virtual unsigned int | insert (const Coord2D &position)=0 |
inserts the position into the closest pair structure and returns the ID that has been allocated for the object. | |
virtual unsigned int | replace (unsigned int ID1, unsigned int ID2, const Coord2D &position) |
replaces the specified ID1 and ID2 with something at a new position assuming that ID1 and ID2 are in sequence wrt position; it returns the ID of the new object... | |
virtual void | replace_many (const std::vector< unsigned int > &IDs_to_remove, const std::vector< Coord2D > &new_positions, std::vector< unsigned int > &new_IDs) |
replaces IDs_to_remove with points at the new_positions indicating the IDs allocated to the new points in new_IDs | |
virtual unsigned int | size ()=0 |
Definition at line 91 of file ClosestPair2DBase.hh.
|
inlinevirtual |
Definition at line 130 of file ClosestPair2DBase.hh.
|
pure virtual |
provides the IDs of the closest pair as well as the squared distance between them
Implemented in fastjet::ClosestPair2D.
|
pure virtual |
removes the entry labelled by ID from the object;
Implemented in fastjet::ClosestPair2D.
|
pure virtual |
inserts the position into the closest pair structure and returns the ID that has been allocated for the object.
Implemented in fastjet::ClosestPair2D.
|
inlinevirtual |
replaces the specified ID1 and ID2 with something at a new position assuming that ID1 and ID2 are in sequence wrt position; it returns the ID of the new object...
Reimplemented in fastjet::ClosestPair2D.
Definition at line 108 of file ClosestPair2DBase.hh.
|
inlinevirtual |
replaces IDs_to_remove with points at the new_positions indicating the IDs allocated to the new points in new_IDs
Reimplemented in fastjet::ClosestPair2D.
Definition at line 118 of file ClosestPair2DBase.hh.