# AlpsNodeSelection Class Reference

`#include <AlpsSearchStrategy.h>`

Inheritance diagram for AlpsNodeSelection:
[legend]

List of all members.

## Public Member Functions
| AlpsNodeSelection ()
| Default Constructor.
virtual | ~AlpsNodeSelection ()
| Default Destructor.
virtual bool | compare (AlpsTreeNode *x, AlpsTreeNode *y)=0
| This returns true if the depth of node y is lesser than that of node x.
virtual AlpsTreeNode * | selectNextNode (AlpsSubTree *subTree)
virtual void | createNewNodes (AlpsSubTree *subTree, AlpsTreeNode *node)

## Detailed Description

Definition at line 49 of file AlpsSearchStrategy.h.

## Constructor & Destructor Documentation

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

Default Constructor.

Definition at line 53 of file AlpsSearchStrategy.h.

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

Default Destructor.

Definition at line 56 of file AlpsSearchStrategy.h.

## Member Function Documentation

virtual bool AlpsNodeSelection::compare | ( | AlpsTreeNode * | x,
|  | AlpsTreeNode * | y |
| ) |  |  | `[pure virtual]`

This returns true if the depth of node y is lesser than that of node x.

Implemented in AlpsNodeSelectionBest, AlpsNodeSelectionBreadth, AlpsNodeSelectionDepth, AlpsNodeSelectionEstimate, and AlpsNodeSelectionHybrid.

virtual AlpsTreeNode* AlpsNodeSelection::selectNextNode | ( | AlpsSubTree * | subTree | ) | `[virtual]`

Reimplemented in AlpsNodeSelectionHybrid.

virtual void AlpsNodeSelection::createNewNodes | ( | AlpsSubTree * | subTree,
|  | AlpsTreeNode * | node |
| ) |  |  | `[virtual]`

Reimplemented in AlpsNodeSelectionHybrid.

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

- /home/coin/svn-release/Alps-1.5.2/Alps/src/AlpsSearchStrategy.h