Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
decltype(GetNum(Range)) Algo::LowerBound
(
const RangeType& Range, |
Algo/BinarySearch.h | ||
decltype(GetNum(Range)) Algo::LowerBound
(
const RangeType& Range, |
Performs binary search, resulting in position of the first element >= Value using predicate | Algo/BinarySearch.h |
Algo::LowerBound(const RangeType &, const ValueType &)
| Name | Algo::LowerBound |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/BinarySearch.h |
| Include Path | #include "Algo/BinarySearch.h" |
namespace Algo
{
template<typename RangeType, typename ValueType>
decltype(GetNum(Range)) Algo::LowerBound
(
const RangeType & Range,
const ValueType & Value
)
}
Algo::LowerBound(const RangeType &, const ValueType &, SortPredicateType)
Description
Performs binary search, resulting in position of the first element >= Value using predicate
| Name | Algo::LowerBound |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/BinarySearch.h |
| Include Path | #include "Algo/BinarySearch.h" |
namespace Algo
{
template<typename RangeType, typename ValueType, typename SortPredicateType>
decltype(GetNum(Range)) Algo::LowerBound
(
const RangeType & Range,
const ValueType & Value,
SortPredicateType SortPredicate
)
}
Position of the first element >= Value, may be position after last element in range
Parameters
| Name | Remarks |
|---|---|
| Range | Range to search through, must be already sorted by SortPredicate |
| Value | Value to look for |
| SortPredicate | Predicate for sort comparison, defaults to < |