Isle
Loading...
Searching...
No Matches
LegoBEWithFloatComparator Struct Reference

[AI] Function object for comparing LegoBEWithFloat pointers by their floating-point annotation. More...

#include <legopathedgecontainer.h>

Public Member Functions

bool operator() (LegoBEWithFloat *const &p_a, LegoBEWithFloat *const &p_b) const
 [AI] Return true if a's annotation is strictly less than b's. More...
 

Detailed Description

[AI] Function object for comparing LegoBEWithFloat pointers by their floating-point annotation.

[AI]

[AI] Used so that multiset or other sorted containers can order the elements by edge priority/value. [AI]

Definition at line 90 of file legopathedgecontainer.h.

Member Function Documentation

◆ operator()()

bool LegoBEWithFloatComparator::operator() ( LegoBEWithFloat *const &  p_a,
LegoBEWithFloat *const &  p_b 
) const
inline

[AI] Return true if a's annotation is strictly less than b's.

Parameters
p_a[AI] First edge. [AI]
p_b[AI] Second edge. [AI]
Returns
[AI] True if p_a's float value is less than p_b's. [AI]

Definition at line 95 of file legopathedgecontainer.h.


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