indigoX
RegionalPermutation< RandomIt > Struct Template Reference

#include <indigox/utils/combinatronics.hpp>

+ Collaboration diagram for RegionalPermutation< RandomIt >:

Public Types

using IterPair = stdx::triple< RandomIt, RandomIt, RandomIt >
 
using Iters = std::vector< IterPair >
 

Public Member Functions

 RegionalPermutation ()=delete
 
 RegionalPermutation (RandomIt begin, RandomIt end)
 
bool AddRegion (RandomIt first, RandomIt last)
 
bool operator() ()
 

Public Attributes

RandomIt b
 
RandomIt e
 
bool finished
 
bool first_pass
 
Iters regions
 

Member Typedef Documentation

◆ IterPair

using IterPair = stdx::triple<RandomIt, RandomIt, RandomIt>

◆ Iters

using Iters = std::vector<IterPair>

Constructor & Destructor Documentation

◆ RegionalPermutation() [1/2]

RegionalPermutation ( )
delete

◆ RegionalPermutation() [2/2]

RegionalPermutation ( RandomIt  begin,
RandomIt  end 
)
inline

Member Function Documentation

◆ AddRegion()

bool AddRegion ( RandomIt  first,
RandomIt  last 
)
inline

◆ operator()()

bool operator() ( )
inline

Member Data Documentation

◆ b

RandomIt b

◆ e

RandomIt e

◆ finished

bool finished

◆ first_pass

◆ regions


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