Main MRPT website > C++ reference
MRPT logo
Classes | Public Member Functions | Private Attributes

ANNmin_k Class Reference


Detailed Description

Definition at line 66 of file pr_queue_k.h.

#include <mrpt/otherlibs/ann/pr_queue_k.h>

List of all members.

Classes

struct  mk_node

Public Member Functions

 ANNmin_k (int max)
 ~ANNmin_k ()
PQKkey ANNmin_key ()
PQKkey max_key ()
PQKkey ith_smallest_key (int i)
PQKinfo ith_smallest_info (int i)
void insert (PQKkey kv, PQKinfo inf)

Private Attributes

int k
int n
mk_nodemk

Constructor & Destructor Documentation

ANNmin_k::ANNmin_k ( int  max) [inline]

Definition at line 77 of file pr_queue_k.h.

References k, mk, and n.

ANNmin_k::~ANNmin_k ( ) [inline]

Definition at line 84 of file pr_queue_k.h.

References mk.


Member Function Documentation

PQKkey ANNmin_k::ANNmin_key ( ) [inline]

Definition at line 87 of file pr_queue_k.h.

References mk, n, and PQ_NULL_KEY.

void ANNmin_k::insert ( PQKkey  kv,
PQKinfo  inf 
) [inline]

Definition at line 99 of file pr_queue_k.h.

References ANN_FLOP, ANNmin_k::mk_node::info, k, ANNmin_k::mk_node::key, mk, and n.

PQKinfo ANNmin_k::ith_smallest_info ( int  i) [inline]

Definition at line 96 of file pr_queue_k.h.

References mk, n, and PQ_NULL_INFO.

PQKkey ANNmin_k::ith_smallest_key ( int  i) [inline]

Definition at line 93 of file pr_queue_k.h.

References mk, n, and PQ_NULL_KEY.

PQKkey ANNmin_k::max_key ( ) [inline]

Definition at line 90 of file pr_queue_k.h.

References k, mk, n, and PQ_NULL_KEY.


Member Data Documentation

int ANNmin_k::k [private]

Definition at line 72 of file pr_queue_k.h.

Referenced by ANNmin_k(), insert(), and max_key().

mk_node* ANNmin_k::mk [private]
int ANNmin_k::n [private]

Definition at line 73 of file pr_queue_k.h.

Referenced by ANNmin_k(), ANNmin_key(), insert(), ith_smallest_info(), ith_smallest_key(), and max_key().




Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:40:17 UTC 2011