Class: Gnm::SolverIteratorCompound

Inherits:
SolverIterator show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from SolverIterator

#initialize, #iterate

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.

Parameters:

Returns:

  • (nil)

#cyclesInteger

Returns cycles.

Returns:

  • (Integer)

    cycles

#cycles=(cycles) ⇒ Integer

Parameters:

  • cycles (Integer)

Returns:

  • (Integer)

    cycles

  • (Integer)

    cycles