- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# AlpsTreeSelection Class Reference

`#include <AlpsSearchStrategy.h>`

Inheritance diagram for AlpsTreeSelection:

[legend]
List of all members.

## Public Member Functions
| AlpsTreeSelection ()
| Default Constructor.
virtual | ~AlpsTreeSelection ()
| Default Destructor.
virtual bool | compare (AlpsSubTree *x, AlpsSubTree *y)=0
| This returns true if the quality of the subtree y is better (the less the better) than that the subtree x.

## Detailed Description

Definition at line 33 of file AlpsSearchStrategy.h.

## Constructor & Destructor Documentation

AlpsTreeSelection::AlpsTreeSelection | ( |  | ) | `[inline]`

Default Constructor.

Definition at line 37 of file AlpsSearchStrategy.h.

virtual AlpsTreeSelection::~AlpsTreeSelection | ( |  | ) | `[inline, virtual]`

Default Destructor.

Definition at line 40 of file AlpsSearchStrategy.h.

## Member Function Documentation

virtual bool AlpsTreeSelection::compare | ( | AlpsSubTree * | x,
|  | AlpsSubTree * | y |
| ) |  |  | `[pure virtual]`

This returns true if the quality of the subtree y is better (the less the better) than that the subtree x.

Implemented in AlpsTreeSelectionBest, AlpsTreeSelectionBreadth, AlpsTreeSelectionDepth, and AlpsTreeSelectionEstimate.

The documentation for this class was generated from the following file:

- /home/coin/SVN-release/Alps-1.3.0/Alps/src/AlpsSearchStrategy.h