Package | Description |
---|---|
lavesdk.algorithm |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AlgorithmRTE.adoptState(int stepID,
AlgorithmState state)
Lets the algorithm adopt the given state.
|
protected void |
AlgorithmExercise.applySolutionToAlgorithm(AlgorithmState state,
T[] solutions)
Applies the specified solution to the given
AlgorithmState . |
protected void |
AlgorithmExercise.beforeRequestSolution(AlgorithmState state)
This method is invoked before the user enters a solution.
|
protected abstract void |
AlgorithmRTE.createInitialState(AlgorithmState state)
Creates the initial state of the algorithm meaning the initial values of the variables
which are used in your algorithm.
|
protected boolean |
AlgorithmExercise.doAutoExamine(AlgorithmState state,
java.lang.String[] keys,
T[] results)
Does an automatic examination of the results a user has entered as the solution of the exercise.
|
boolean |
AlgorithmState.equals(AlgorithmState s)
Compares the specified state with this state and returns
true if the specified state
has the same step id and the same data (mapping of data key <-> data value) as this state. |
protected abstract boolean |
AlgorithmExercise.examine(T[] results,
AlgorithmState state)
Examines the results the user has entered as the solution of the exercise.
|
protected abstract void |
AlgorithmRTE.restoreState(AlgorithmState state)
Restores a state of the algorithm.
|
protected abstract void |
AlgorithmRTE.storeState(AlgorithmState state)
Stores the current state of the algorithm.
|