KrisLibrary  1.0.0
Public Member Functions | List of all members
Permutation Class Reference

A class that enumerates permutations. More...

#include <permutation.h>

Public Member Functions

 Permutation (int _n)
 
 Permutation (int _k, int _n)
 
const Permutationoperator++ ()
 
const Permutationoperator++ (int)
 
const Permutationoperator-- ()
 
const Permutationoperator-- (int)
 
int cycleCount () const
 
bool isDone () const
 
const std::vector< int > & operator* () const
 
const std::vector< int > * operator-> () const
 
const Permutationoperator= (const Permutation &c)
 
bool operator== (const Permutation &c) const
 
bool operator< (const Permutation &c) const
 

Detailed Description

A class that enumerates permutations.


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