numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
num_collect::opt::dividing_rectangles< ObjectiveFunction >::greater_rectangle Struct Reference

Class to compare rectangles. More...

+ Collaboration diagram for num_collect::opt::dividing_rectangles< ObjectiveFunction >::greater_rectangle:

Public Member Functions

auto operator() (const std::shared_ptr< rectangle > &left, const std::shared_ptr< rectangle > &right) const -> bool
 Compare rectangles.
 

Detailed Description

template<concepts::objective_function ObjectiveFunction>
struct num_collect::opt::dividing_rectangles< ObjectiveFunction >::greater_rectangle

Class to compare rectangles.

Definition at line 362 of file dividing_rectangles.h.

Member Function Documentation

◆ operator()()

template<concepts::objective_function ObjectiveFunction>
auto num_collect::opt::dividing_rectangles< ObjectiveFunction >::greater_rectangle::operator() ( const std::shared_ptr< rectangle > & left,
const std::shared_ptr< rectangle > & right ) const -> bool
inlinenodiscard

Compare rectangles.

Parameters
[in]leftLeft-hand-side rectangle.
[in]rightRight-hand-side rectangle.
Returns
Result of left > right.

Definition at line 370 of file dividing_rectangles.h.


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