org.activemath.tutor.coursegen.jshop2
Class JShop2Planner
java.lang.Object
org.activemath.tutor.coursegen.jshop2.JShop2Planner
- All Implemented Interfaces:
- Runnable, Solver
public class JShop2Planner
- extends Object
- implements Solver, Runnable
Class that plugs in JShop2.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
task
protected Task task
userId
protected String userId
initialState
protected Map initialState
course
protected OJDocument course
finished
protected boolean finished
JShop2Planner
public JShop2Planner(Task taskToSolve)
JShop2Planner
public JShop2Planner(String userId,
Task taskToSolve)
JShop2Planner
public JShop2Planner(String userId,
Task taskToSolve,
Map initialWorldState)
solve
public OJDocument solve()
- Specified by:
solve in interface Solver
run
public void run()
- Specified by:
run in interface Runnable
getCourse
public OJDocument getCourse()
- Returns:
- Returns the course.
isFinished
public boolean isFinished()
- Returns:
- Returns the finished.