Tag Archives: combinatorics

🚪 revdoor

revdoor is a single-file C++ library for visiting revolving door combinations. The combinations without replacement generator implements Algorithm R from TAOCP 7.2.1.3 [1]. The combinations with replacement generator implements the same algorithm, modified to support replacement. The algorithms visit combinations … Continue reading

Tagged , , , , | Leave a comment