ProblemLoader.__next__

abstract ProblemLoader.__next__()[source]

Retrieve the next batch of problems.

Returns:

A ProblemBatch containing up to batch_size problem instances.

Raises:
  • StopIteration – If there are no further items.

  • NotImplementedError – If the subclass does not override this constructor.

Return type:

ProblemBatch