|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Analysable
Interface for automatic generation of exercises. All generators must implement this interface.
| Method Summary | |
|---|---|
OperationQueue |
autoGen(java.lang.Object o,
OperationQueue givenOperations,
int difficulty,
int mode)
Calculates the todo-operations for the current data-structure |
OperationQueue[] |
fullAutomatic(java.lang.Object o,
OperationQueue init,
OperationQueue scramble,
OperationQueue autoGen,
int difficulty,
int mode)
Generates a complete exercise from the given parameters. |
OperationQueue |
getOperations(java.lang.Object o)
Calculates all possible different Operation's at the current-state of the data-structure. |
OperationQueue |
init(java.lang.Object o,
OperationQueue givenOperations,
int difficulty,
int mode)
Calculates operations to initialize a data-structure |
OperationQueue |
scramble(java.lang.Object o,
OperationQueue givenOperations,
int difficulty,
int mode)
Calculates operations to scramble the current data-structure |
| Method Detail |
|---|
OperationQueue getOperations(java.lang.Object o)
o - data-structure
OperationQueue init(java.lang.Object o,
OperationQueue givenOperations,
int difficulty,
int mode)
o - data-structuregivenOperations - OperationQueue that contains the candidates for initializing (Parameters not defined)difficulty - difficulty-IDmode - exercise-mode (NORMAL vs. FAULT)
OperationQueue scramble(java.lang.Object o,
OperationQueue givenOperations,
int difficulty,
int mode)
o - data-structuregivenOperations - OperationQueue of Operations without parametersdifficulty - difficulty-IDmode - exercise-mode (NORMAL vs. FAULT)
OperationQueue autoGen(java.lang.Object o,
OperationQueue givenOperations,
int difficulty,
int mode)
o - data-structuregivenOperations - OperationQueue of Operations without parametersdifficulty - difficulty-IDmode - exercise-mode (NORMAL vs. FAULT)
OperationQueue[] fullAutomatic(java.lang.Object o,
OperationQueue init,
OperationQueue scramble,
OperationQueue autoGen,
int difficulty,
int mode)
o - data-structure.init - OperationQueue used for initializingscramble - OperationQueue used for scramblingautoGen - OperationQueue used to generate the todo-operationsdifficulty - difficulty-IDmode - exercise-mode (NORMAL vs. FAULT)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||