CoinUtils  2.11.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
CoinSearchTreeComparePreferred Struct Reference

Function objects to compare search tree nodes. More...

#include <CoinSearchTree.hpp>

Public Member Functions

bool operator() (const CoinTreeSiblings *x, const CoinTreeSiblings *y) const
 

Static Public Member Functions

static const char * name ()
 

Detailed Description

Function objects to compare search tree nodes.

The comparison function must return true if the first argument is "better" than the second one, i.e., it should be processed first. Depth First Search.

Definition at line 168 of file CoinSearchTree.hpp.

Member Function Documentation

static const char* CoinSearchTreeComparePreferred::name ( )
inlinestatic

Definition at line 169 of file CoinSearchTree.hpp.

bool CoinSearchTreeComparePreferred::operator() ( const CoinTreeSiblings x,
const CoinTreeSiblings y 
) const
inline

Definition at line 170 of file CoinSearchTree.hpp.


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