Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::stl_comb_detail Namespace Reference

Functions

template<typename T , typename Op >
bool permutations_impl (std::vector< T > &arr, size_t start, Op &op_ref)
 
template<typename T , typename Op >
bool combinations_impl (const std::vector< T > &arr, size_t k, size_t start, std::vector< T > &current, Op &op_ref)
 
template<typename T , typename Op >
bool arrangements_impl (const std::vector< T > &arr, size_t k, std::vector< T > &current, std::vector< bool > &used, Op &op_ref)
 

Function Documentation

◆ arrangements_impl()

template<typename T , typename Op >
bool Aleph::stl_comb_detail::arrangements_impl ( const std::vector< T > &  arr,
size_t  k,
std::vector< T > &  current,
std::vector< bool > &  used,
Op op_ref 
)

Definition at line 1829 of file ah-stl-functional.H.

References arrangements_impl(), and Aleph::maps().

Referenced by arrangements_impl(), and Aleph::stl_traverse_arrangements().

◆ combinations_impl()

template<typename T , typename Op >
bool Aleph::stl_comb_detail::combinations_impl ( const std::vector< T > &  arr,
size_t  k,
size_t  start,
std::vector< T > &  current,
Op op_ref 
)

◆ permutations_impl()

template<typename T , typename Op >
bool Aleph::stl_comb_detail::permutations_impl ( std::vector< T > &  arr,
size_t  start,
Op op_ref 
)

Definition at line 1790 of file ah-stl-functional.H.

References Aleph::maps(), and permutations_impl().

Referenced by permutations_impl(), and Aleph::stl_traverse_permutations().