All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface jam.solver.Iterator

public interface interface Iterator
An Iterator controls the iterations of a solver.


Method Index

 o finish()
A solver executes it after looping
 o hasMoreIterations()
A solver executes it every loop step to decide to continue looping
 o nextIteration()
A solver executes it every loop step (after it updates the approximation, but before it increments the iteration number)
 o setSolver(IterativeSolver)
A solver hands itself to the iterator to allow access to its methods
 o start()
A solver executes it before looping

Methods

 o setSolver
 public abstract void setSolver(IterativeSolver solver)
A solver hands itself to the iterator to allow access to its methods

 o start
 public abstract void start()
A solver executes it before looping

 o hasMoreIterations
 public abstract boolean hasMoreIterations()
A solver executes it every loop step to decide to continue looping

Returns:
false if solver is finished looping
 o nextIteration
 public abstract void nextIteration()
A solver executes it every loop step (after it updates the approximation, but before it increments the iteration number)

 o finish
 public abstract void finish()
A solver executes it after looping


All Packages  Class Hierarchy  This Package  Previous  Next  Index