Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## generation
Class AutoGenerator

    java.lang.Object
      generation.AutoGenerator

    public class AutoGenerator

extends java.lang.Object

Generates automatically exercises and stores them to local filesystem

Author:
  Markus Krebs

Constructor Summary
`AutoGenerator(java.lang.String type, java.lang.String diffStr, java.lang.String modeStr, boolean saveGeneratedExercise)` Starts the AutoGenerator

Method Summary
`java.util.HashMap` | `getExercise()` Get the Exercise as HashMap for loading in WorkEditor
`static void` | `main(java.lang.String[] args)` Starts the AutoGenerator

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AutoGenerator

    public AutoGenerator(java.lang.String type,
                         java.lang.String diffStr,
                         java.lang.String modeStr,
                         boolean saveGeneratedExercise)

  Starts the AutoGenerator

  Parameters:
    `type` - The type of exercise to created. E.g.: FibHeap
    `diffStr` - The difficulty
    `modeStr` - The mode: NORMAL (NormalMode) or FAULT (FaultMode)
    `saveGeneratedExercise` - TRUE when the new generated exercise has to be saved, false otherwise

Method Detail

### getExercise

    public java.util.HashMap getExercise()

  Get the Exercise as HashMap for loading in WorkEditor

  Returns:
    The Hashmap that contains the exercise

### main

    public static void main(java.lang.String[] args)

  Starts the AutoGenerator

  Parameters:
    `args` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD