class tags_database : public TclObject


Inheritance:


Public Fields

Trace* tracetarget_
within a circle centered at (x,y) and radius r Trace target

Public Methods

void Addtag(const tag *tag_)
virtual int command(int argc, const char * const * argv)
void create_tags_database(double x_min, double x_max, double y_min, double y_max, int num_tags)
void Deletetag(const tag *tag_)
int get_random_tag()
compr_taglist* Gettags(double x, double y, double r)
Returns all tags
tags_database()
void trace(char *fmt, ...)
~tags_database()

Protected Fields

int* freq_qry_tag_list_
tags that will be frequently queried
int num_freq_qry_tags_
number of frequently queried tags
int num_sensed_tags_
number of tags sensed by nodes
int num_tags_
total number of tags in database
RNG* rn_
int* sensed_tag_list_
list of all tags sensed by nodes
dbase_node* tags_db_
interior node
compr_taglist* vtags_
used to store returned tag list after search

Protected Methods

void add_level(double x_min, double x_max, double y_min, double y_max, dbase_node *dbnode)
void search_tags_dbase(double x, double y, double r, dbase_node *dbnode)

Documentation

tags_database()

~tags_database()

virtual int command(int argc, const char * const * argv)

void create_tags_database(double x_min, double x_max, double y_min, double y_max, int num_tags)

void Addtag(const tag *tag_)

void Deletetag(const tag *tag_)

compr_taglist* Gettags(double x, double y, double r)
Returns all tags

Trace* tracetarget_
within a circle centered at (x,y) and radius r Trace target

void trace(char *fmt, ...)

int get_random_tag()

dbase_node* tags_db_
interior node

int num_tags_
total number of tags in database

int num_sensed_tags_
number of tags sensed by nodes

int* sensed_tag_list_
list of all tags sensed by nodes

int num_freq_qry_tags_
number of frequently queried tags

int* freq_qry_tag_list_
tags that will be frequently queried

RNG* rn_

compr_taglist* vtags_
used to store returned tag list after search

void add_level(double x_min, double x_max, double y_min, double y_max, dbase_node *dbnode)

void search_tags_dbase(double x, double y, double r, dbase_node *dbnode)


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de