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;
 }
Esempio n. 4
0
 public CutAllCommand(IDagGenerator dagGenerator, IRouteGenerator routeGenerator)
     : base(dagGenerator, routeGenerator, null)
 {
 }
Esempio n. 5
0
 public BestRouteGenerator(IDagGenerator dagGenerator)
 {
     _dagGenerator = dagGenerator;
 }
Esempio n. 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())
 {
 }
Esempio n. 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();
 }