Class: Gnm::SolverIteratorCompound
- Inherits:
-
SolverIterator
- Object
- SolverIterator
- Gnm::SolverIteratorCompound
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#add(iter, count) ⇒ nil
Add an iterator to a compound iterator with a given repeat count.
-
#cycles ⇒ Integer
Cycles.
- #cycles=(cycles) ⇒ Integer
Methods inherited from SolverIterator
Constructor Details
This class inherits a constructor from Gnm::SolverIterator
Instance Method Details
#add(iter, count) ⇒ nil
Add an iterator to a compound iterator with a given repeat count. As a special case, a repeat count of zero means to try the iterator once in a cycle, but only if no other sub-iterator has shown any progress so far.
#cycles ⇒ Integer
Returns cycles.