|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
Basicly this generates a list for each position in an
array then iterates through all the possible combinations
of values.
Variables:
- SArray1dC> iters;
-
Methods:
- PermIterC(UIntT nArity = 0)
-
Default constructor.
- PermIterC(const PermIterC & Oth)
-
Copy constructor.
- PermIterC<T> Copy() const
-
Make a copy of this iterator.
This copys the iterators but NOT the
lists, so any modification made to lists
will affect both iterators.
This may be changed in the future.
- DLIterC<T> & Iter(UIntT i)
-
Access a given iterator.
- void InsLast(UIntT i,const T & Item)
-
Add item to end of list.
- void InsLast(const T & Item)
-
Add to all lists.
- void InsLast(UIntT i,DListC<T> & Items)
-
Add items to end of list.
- void Del(UIntT i)
-
Delete element from given list.
- BooleanT First(void)
-
Goto first permutation.
- BooleanT Next(void)
-
Goto Next permutation.
- BooleanT IsElm(void) const
-
Is a valid element ?
- const T & Data(UIntT i) const
-
Get data.
- DListC<T> Data(void) const
-
Make a list.
- void Reset(UIntT nArity)
-
Clear Iter & change arity.
- UIntT Arity(void) const
-
Get Arity of iterator.
- void Empty(void)
-
Empty all lists.
- DLIterC<T> GetIter(int i) const
-
Get a copy of iterator.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|