Public Member Functions | Private Types | List of all members
cost_ordered< ValueType, CostType, Compare > Class Template Reference

#include <cost_queue.h>

Inheritance diagram for cost_ordered< ValueType, CostType, Compare >:
Inheritance graph
[legend]

Public Member Functions

auto insert (const ValueType &value, const CostType cost)
 
auto insert (ValueType &&value, const CostType cost)
 

Private Types

using base_type = ordered< detail::ItemCostPair< ValueType, CostType >, Compare >
 

Detailed Description

template<typename ValueType, typename CostType = double, typename Compare = std::less<detail::ItemCostPair<ValueType, CostType>>>
class cost_ordered< ValueType, CostType, Compare >

Definition at line 154 of file cost_queue.h.

Member Typedef Documentation

◆ base_type

template<typename ValueType , typename CostType = double, typename Compare = std::less<detail::ItemCostPair<ValueType, CostType>>>
using cost_ordered< ValueType, CostType, Compare >::base_type = ordered<detail::ItemCostPair<ValueType, CostType>, Compare>
private

Definition at line 156 of file cost_queue.h.

Member Function Documentation

◆ insert() [1/2]

template<typename ValueType , typename CostType = double, typename Compare = std::less<detail::ItemCostPair<ValueType, CostType>>>
auto cost_ordered< ValueType, CostType, Compare >::insert ( const ValueType &  value,
const CostType  cost 
)
inline

Definition at line 159 of file cost_queue.h.

◆ insert() [2/2]

template<typename ValueType , typename CostType = double, typename Compare = std::less<detail::ItemCostPair<ValueType, CostType>>>
auto cost_ordered< ValueType, CostType, Compare >::insert ( ValueType &&  value,
const CostType  cost 
)
inline

Definition at line 160 of file cost_queue.h.


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


core
Author(s):
autogenerated on Sat May 3 2025 02:40:11