package de.ugoe.cs.quest.commands.usage; import java.util.List; import java.util.Random; import de.ugoe.cs.quest.usageprofiles.FirstOrderMarkovModel; import de.ugoe.cs.quest.usageprofiles.HighOrderMarkovModel; import de.ugoe.cs.quest.usageprofiles.TrieBasedModel; /** *
* Command to train first-order and high-order Markov models. *
* * @author Steffen Herbold * @version 2.0 */ public class CMDtrainMarkovModel extends AbstractTrainCommand { /** ** Order of the Markov model. *
*/ int order; /* * (non-Javadoc) * * @see de.ugoe.cs.util.console.Command#help() */ @Override public String help() { return "trainMarkovModel* Handles the parameter order. *
* * @see de.ugoe.cs.quest.commands.usage.AbstractTrainCommand#handleOptionalParameters(java.util.List) */ @Override void handleAdditionalParameters(List