edu.washington.cs.supple.net.rmi.client
Class ClientSolverImpl
java.lang.Object
edu.washington.cs.supple.net.rmi.client.ClientSolverImpl
- All Implemented Interfaces:
- Solver
- public class ClientSolverImpl
- extends java.lang.Object
- implements Solver
- Author:
- dbc1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
solve
public Solution solve(UiObject uiObject,
java.awt.Dimension sizeConstraint)
throws java.lang.InterruptedException
- Description copied from interface:
Solver
- Invoke search using default search parameters.
- Specified by:
solve in interface Solver
- Parameters:
uiObject - the description of the UI to be renderedsizeConstraint - the maximum size
- Returns:
- The solved bag structure if all went well; null otherwise
- Throws:
java.lang.InterruptedException
solve
public Solution solve(UiObject uiObject,
SearchParameters searchParameters,
java.awt.Dimension sizeConstraint)
throws java.lang.InterruptedException
- Description copied from interface:
Solver
- Invoke search with given search parameters.
- Specified by:
solve in interface Solver
- Parameters:
uiObject - the description of the UI to be renderedsizeConstraint - the maximum sizesearchParameters - hand-set parameters for the search
- Returns:
- The solved bag structure if all went well; null otherwise
- Throws:
java.lang.InterruptedException
interruptSearch
public void interruptSearch()
- Specified by:
interruptSearch in interface Solver
setListener
public void setListener(SolverListener listener)
- Specified by:
setListener in interface Solver
addSpy
public void addSpy(SolverListener listener)
- Specified by:
addSpy in interface Solver
removeSpy
public void removeSpy(SolverListener listener)
- Specified by:
removeSpy in interface Solver
addFinalSolutionListener
public void addFinalSolutionListener(FinalSolutionListener listener)
- Specified by:
addFinalSolutionListener in interface Solver
removeFinalSolutionListener
public void removeFinalSolutionListener(FinalSolutionListener listener)
- Specified by:
removeFinalSolutionListener in interface Solver
isAsynchronous
public boolean isAsynchronous()
setAsynchronous
public void setAsynchronous(boolean asynchronous)