public CutWithHmmCommand(IDagGenerator dagGenerator, IRouteGenerator routeGenerator, IAlgorithm algorithm) : base(dagGenerator, routeGenerator, algorithm ?? new ViterbiAlgorithm()) { }
protected BaseCutDagCommand(IDagGenerator dagGenerator, IRouteGenerator routeGenerator, IAlgorithm algorithm) { DagGenerator = dagGenerator; RouteGenerator = routeGenerator; Algorithm = algorithm; }
public CutAllCommand(IDagGenerator dagGenerator, IRouteGenerator routeGenerator) : base(dagGenerator, routeGenerator, null) { }
public BestRouteGenerator(IDagGenerator dagGenerator) { _dagGenerator = dagGenerator; }
public void Initialize() { _dagGenerator = new DagGenerator.DagGenerator(); _routeGeneratorgenerator = new BestRouteGenerator(_dagGenerator); _hhmAlgorithm = new ViterbiAlgorithm(); }
public CutWithoutHmmCommand(IDagGenerator dagGenerator, IRouteGenerator routeGenerator, IAlgorithm algorithm) : base(dagGenerator, routeGenerator, algorithm ?? new NoHmmAlgorithm()) { }