VGServer::RTree::LevelStats Struct Reference

Data class used to collect information from one level the tree. More...

#include <RTree.h>

List of all members.

Public Member Functions

 LevelStats ()
 zero initialized
LevelStatsoperator+= (const LevelStats &s)
 add things up

Public Attributes

unsigned int bytes
 bytes used by nodes
unsigned int children
 number of children in node level
unsigned int nodes
 number of nodes in level
AreaType overlap
 overlapping area of rectangles within one node
unsigned int unusedbytes
 unused bytes in nodes
unsigned int unusedchildren
 number of unused children places
AreaType wastearea
 area outside the union of all rectangles within a node


Detailed Description

Data class used to collect information from one level the tree.

Definition at line 244 of file RTree.h.


Constructor & Destructor Documentation

VGServer::RTree::LevelStats::LevelStats (  )  [inline]

zero initialized

Definition at line 268 of file RTree.h.

References bytes, children, nodes, overlap, unusedbytes, unusedchildren, and wastearea.


Member Function Documentation

LevelStats& VGServer::RTree::LevelStats::operator+= ( const LevelStats s  )  [inline]

add things up

Definition at line 280 of file RTree.h.

References bytes, children, nodes, overlap, unusedbytes, unusedchildren, and wastearea.


Member Data Documentation

unsigned int VGServer::RTree::LevelStats::bytes

bytes used by nodes

Definition at line 256 of file RTree.h.

Referenced by VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< VGServer::RTree::Tree::InnerNodeData >::calcStats(), LevelStats(), operator+=(), and VGServer::operator<<().

unsigned int VGServer::RTree::LevelStats::children

number of children in node level

Definition at line 250 of file RTree.h.

Referenced by VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< VGServer::RTree::Tree::InnerNodeData >::calcStats(), LevelStats(), operator+=(), and VGServer::operator<<().

unsigned int VGServer::RTree::LevelStats::nodes

number of nodes in level

Definition at line 247 of file RTree.h.

Referenced by VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< VGServer::RTree::Tree::InnerNodeData >::calcStats(), LevelStats(), operator+=(), and VGServer::operator<<().

AreaType VGServer::RTree::LevelStats::overlap

overlapping area of rectangles within one node

Definition at line 262 of file RTree.h.

Referenced by VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< VGServer::RTree::Tree::InnerNodeData >::calcStats(), LevelStats(), operator+=(), and VGServer::operator<<().

unsigned int VGServer::RTree::LevelStats::unusedbytes

unused bytes in nodes

Definition at line 259 of file RTree.h.

Referenced by VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< VGServer::RTree::Tree::InnerNodeData >::calcStats(), LevelStats(), operator+=(), and VGServer::operator<<().

unsigned int VGServer::RTree::LevelStats::unusedchildren

number of unused children places

Definition at line 253 of file RTree.h.

Referenced by VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< VGServer::RTree::Tree::InnerNodeData >::calcStats(), LevelStats(), operator+=(), and VGServer::operator<<().

AreaType VGServer::RTree::LevelStats::wastearea

area outside the union of all rectangles within a node

Definition at line 265 of file RTree.h.

Referenced by VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< VGServer::RTree::Tree::InnerNodeData >::calcStats(), LevelStats(), operator+=(), and VGServer::operator<<().


The documentation for this struct was generated from the following file:
Generated on Wed Sep 27 14:34:01 2006 for VGServer by  doxygen 1.4.7