public CutWithHmmCommand(IDagGenerator dagGenerator, IRouteGenerator routeGenerator, IAlgorithm algorithm) :
     base(dagGenerator, routeGenerator, algorithm ?? new ViterbiAlgorithm())
 {
 }
 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)
 {
 }
Exemple #5
0
 public BestRouteGenerator(IDagGenerator dagGenerator)
 {
     _dagGenerator = dagGenerator;
 }
Exemple #6
0
 public void Initialize()
 {
     _dagGenerator            = new DagGenerator.DagGenerator();
     _routeGeneratorgenerator = new BestRouteGenerator(_dagGenerator);
     _hhmAlgorithm            = new ViterbiAlgorithm();
 }
 public BestRouteGenerator(IDagGenerator dagGenerator)
 {
     _dagGenerator = dagGenerator;
 }
 public CutWithoutHmmCommand(IDagGenerator dagGenerator, IRouteGenerator routeGenerator, IAlgorithm algorithm) :
     base(dagGenerator, routeGenerator, algorithm ?? new NoHmmAlgorithm())
 {
 }
 public CutWithoutHmmCommand(IDagGenerator dagGenerator, IRouteGenerator routeGenerator, IAlgorithm algorithm)
     : base(dagGenerator, routeGenerator, algorithm ?? new NoHmmAlgorithm())
 {
 }
Exemple #10
0
 public CutAllCommand(IDagGenerator dagGenerator, IRouteGenerator routeGenerator) :
     base(dagGenerator, routeGenerator, null)
 {
 }
 public void Initialize()
 {
     _dagGenerator = new DagGenerator.DagGenerator();
     _routeGeneratorgenerator = new BestRouteGenerator(_dagGenerator);
     _hhmAlgorithm = new ViterbiAlgorithm();
 }