GraphListener.java

package edu.hawaii.ics.yucheng;

/**
 * The interface to an object that listens for progress events from a
 * GraphSolver object.
 */
interface GraphListener {

    /**
     * Executes when the graph reports progress.
     * 
     * @param percent The (approximate) percentage completed.
     * 
     * @param solution The solution or partial solution.
     */
    void progress(Integer percent, GraphSolution solution);
}
Valid HTML 4.01 Valid CSS