Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::PreferBetterObjective< Solution, ObjectivePolicy > Struct Template Reference

Compare two optimization solutions by objective quality. More...

#include <Branch_And_Bound.H>

Public Member Functions

bool operator() (const Solution &lhs, const Solution &rhs) const noexcept
 

Public Attributes

ObjectivePolicy objective
 

Detailed Description

template<typename Solution, typename ObjectivePolicy>
struct Aleph::PreferBetterObjective< Solution, ObjectivePolicy >

Compare two optimization solutions by objective quality.

Definition at line 133 of file Branch_And_Bound.H.

Member Function Documentation

◆ operator()()

template<typename Solution , typename ObjectivePolicy >
bool Aleph::PreferBetterObjective< Solution, ObjectivePolicy >::operator() ( const Solution &  lhs,
const Solution &  rhs 
) const
inlinenoexcept

Member Data Documentation

◆ objective


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