Generated on for Gecode by doxygen 1.18.0
Gecode::Search::Priority Class Reference

Order of open nodes: whether a is preferred to b. More...

#include <gecode/search/heuristic.hh>

Public Member Functions

bool operator() (const Entry &a, const Entry &b) const
 Test whether a is preferred to b.

Public Attributes

HeuristicGuidance::Sense sense
 Objective direction.
bool rank_only
 Whether to order by rank only (CABS with rank).

Detailed Description

Order of open nodes: whether a is preferred to b.

Definition at line 70 of file heuristic.hh.

Member Function Documentation

◆ operator()()

bool Gecode::Search::Priority::operator() ( const Entry & a,
const Entry & b ) const
inline

Test whether a is preferred to b.

Definition at line 77 of file heuristic.hh.

Member Data Documentation

◆ sense

HeuristicGuidance::Sense Gecode::Search::Priority::sense

Objective direction.

Definition at line 73 of file heuristic.hh.

◆ rank_only

bool Gecode::Search::Priority::rank_only

Whether to order by rank only (CABS with rank).

Definition at line 75 of file heuristic.hh.


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