Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::SubsetIndexWithPriority Class Reference

Priority aggregate for the subset priority queue. More...

#include <set_cover_heuristics.h>

Public Types

using Index = SubsetIndex::ValueType
 
using Priority = float
 

Public Member Functions

 SubsetIndexWithPriority ()
 
 SubsetIndexWithPriority (Priority priority, Index index)
 
Priority priority () const
 
Index index () const
 
bool operator< (const SubsetIndexWithPriority other) const
 

Detailed Description

Priority aggregate for the subset priority queue.

Definition at line 29 of file set_cover_heuristics.h.

Member Typedef Documentation

◆ Index

Definition at line 31 of file set_cover_heuristics.h.

◆ Priority

Constructor & Destructor Documentation

◆ SubsetIndexWithPriority() [1/2]

operations_research::SubsetIndexWithPriority::SubsetIndexWithPriority ( )
inline

Definition at line 33 of file set_cover_heuristics.h.

◆ SubsetIndexWithPriority() [2/2]

operations_research::SubsetIndexWithPriority::SubsetIndexWithPriority ( Priority priority,
Index index )
inline

Definition at line 34 of file set_cover_heuristics.h.

Member Function Documentation

◆ index()

Index operations_research::SubsetIndexWithPriority::index ( ) const
inline

Definition at line 37 of file set_cover_heuristics.h.

◆ operator<()

bool operations_research::SubsetIndexWithPriority::operator< ( const SubsetIndexWithPriority other) const
inline

Definition at line 38 of file set_cover_heuristics.h.

◆ priority()

Priority operations_research::SubsetIndexWithPriority::priority ( ) const
inline

Definition at line 36 of file set_cover_heuristics.h.


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