Britbot
Public Member Functions | Properties
Britbot.ExpIterator Class Reference

this class will be used to go over every possible group-target assignment it is like counting in base ten with unclear amount of fingers demo: https://www.youtube.com/watch?v=UIKGV2cTgqA More...

List of all members.

Public Member Functions

 ExpIterator (int[] dims)
 Assigns dimensions and initiate value of iteration.
bool IsZero ()
 checks if all the entries of the iteration are zero
bool NextIteration ()
 Main functionality of this class: it advances iteration it is just like long addition (bad translation?) only you can count up to the given dimension each turn.
override string ToString ()
 Provides a textual description for this ExpIterator.

Properties

int[] Dimensions [get, set]
 array of dimension, given at the constructor and never changes
int[] Values [get, set]
 The values of the iteration vector.

Detailed Description

this class will be used to go over every possible group-target assignment it is like counting in base ten with unclear amount of fingers demo: https://www.youtube.com/watch?v=UIKGV2cTgqA

Definition at line 15 of file ExpIterator.cs.


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