TGS2_tree< base_tree > Class Template Reference

#include <TGS2.h>

Inherits TGS_tree< base_tree >< base_tree >.

Inheritance diagram for TGS2_tree< base_tree >:

Inheritance graph
[legend]
Collaboration diagram for TGS2_tree< base_tree >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TGS2_tree (R_tree_props *props)

Protected Member Functions

virtual double cost_function (const BB_type *x, const BB_type *y) const

Detailed Description

template<typename base_tree>
class TGS2_tree< base_tree >

TGS tree using a different cost function based on the intersection volume.

Definition at line 21 of file TGS2.h.


Constructor & Destructor Documentation

template<typename base_tree>
TGS2_tree< base_tree >::TGS2_tree ( R_tree_props props  )  [inline]

Inherited constructor.

Definition at line 29 of file TGS2.h.


Member Function Documentation

template<typename base_tree>
double TGS2_tree< base_tree >::cost_function ( const BB_type x,
const BB_type y 
) const [inline, protected, virtual]

The overrided cost function.

See also:
TGS_tree::cost_function()

Reimplemented from TGS_tree< base_tree >.

Definition at line 34 of file TGS2.h.

References Cubic_Bounding_Box::intersect(), and Cart::Volume().


The documentation for this class was generated from the following file:
Generated on Sat Oct 13 17:34:43 2007 for R-Tree by  doxygen 1.5.2