Combo-Class.RdThe Combo class family are S4-classes that expose C++ classes that provide access to iterators and other useful methods.
of "Combo" and all classes inheriting from it:
nextIterRetrieve the next lexicographical result
nextNIterPass an integer n to retrieve the next n lexicographical results
nextRemainingRetrieve all remaining lexicographical results
currIterReturns the current iteration
prevIterRetrieve the previous lexicographical result (the next reverse lexicographical result)
prevNIterPass an integer n to retrieve the previous n lexicographical results (the next n reverse lexicographical results)
prevRemainingRetrieve all remaining reverse lexicographical results
startOverResets the iterator
sourceVectorView the source vector
summaryReturns a list of summary information about the iterator
frontRetrieve the first lexicographical result
backRetrieve the last lexicographical result
randomAccessRandom access method. Pass a single value or a vector of valid indices. If a single value is passed, the internal index of the iterator will be updated, however if a vector is passed the internal state will not change. GMP support allows for flexible indexing.
showClass("Combo")
#> Class "Combo" [package "RcppAlgos"]
#>
#> Slots:
#>
#> Name: ptr startOver nextIter nextNIter nextRemaining
#> Class: externalptr function function function function
#>
#> Name: prevIter prevNIter prevRemaining currIter randomAccess
#> Class: function function function function function
#>
#> Name: sourceVector front back summary
#> Class: function function function function
#>
#> Known Subclasses: "ComboApply", "ComboRes"