org.activemath.tutor.coursegen.jshop2
Class JShop2Planner

java.lang.Object
  extended by org.activemath.tutor.coursegen.jshop2.JShop2Planner
All Implemented Interfaces:
Runnable, Solver

public class JShop2Planner
extends Object
implements Solver, Runnable

Class that plugs in JShop2.


Field Summary
protected  OJDocument course
           
protected  boolean finished
           
protected  Map initialState
           
protected  Task task
           
protected  String userId
           
 
Constructor Summary
JShop2Planner(String userId, Task taskToSolve)
           
JShop2Planner(String userId, Task taskToSolve, Map initialWorldState)
           
JShop2Planner(Task taskToSolve)
           
 
Method Summary
 OJDocument getCourse()
           
 boolean isFinished()
           
 void run()
           
 OJDocument solve()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

task

protected Task task

userId

protected String userId

initialState

protected Map initialState

course

protected OJDocument course

finished

protected boolean finished
Constructor Detail

JShop2Planner

public JShop2Planner(Task taskToSolve)

JShop2Planner

public JShop2Planner(String userId,
                     Task taskToSolve)

JShop2Planner

public JShop2Planner(String userId,
                     Task taskToSolve,
                     Map initialWorldState)
Method Detail

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.