Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CantorEnumeration Class Reference

#include <TupleEnumerator.h>

List of all members.

Static Public Methods

Integer encodePair (const Integer &x, const Integer &y)
void decodePair (const Integer &n, Integer &x, Integer &y)
Integer encodeTuple (const VectorOf< Integer > &tuple)
VectorOf<Integer> decodeTuple (const Integer &number)

Member Function Documentation

Integer CantorEnumeration::encodePair ( const Integer & x,
const Integer & y ) [static]

void CantorEnumeration::decodePair ( const Integer & n,
Integer & x,
Integer & y ) [static]

Integer CantorEnumeration::encodeTuple ( const VectorOf< Integer > & tuple ) [static]

VectorOf<Integer> CantorEnumeration::decodeTuple ( const Integer & number ) [static]

The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:49:48 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001