Package net.sourceforge.align.matrix

Examples of net.sourceforge.align.matrix.FullMatrixFactory


   */
  @Before
  public void setUp() {
    Counter counter = new CharCounter();
    Calculator calculator = new NormalDistributionCalculator(counter);
    MatrixFactory matrixFactory = new FullMatrixFactory();
   
    algorithm = new ForwardBackwardAlgorithm(calculator,
        CategoryDefaults.BEST_CATEGORY_MAP, matrixFactory);
  }
View Full Code Here


        throw new MissingParameterException("search");
      }
      if (search.equals("exhaustive") || search.equals("band")) {
        MatrixFactory matrixFactory;
        if (search.equals("exhaustive")) {
          matrixFactory = new FullMatrixFactory();
        } else if (search.equals("band")) {
          int radius = createInt(commandLine, "radius",
              BandMatrixFactory.DEFAULT_BAND_RADIUS);
          matrixFactory = new BandMatrixFactory(radius);
        } else {
View Full Code Here

   */
  @Before
  public void setUp() {
    Counter counter = new CharCounter();
    Calculator calculator = new NormalDistributionCalculator(counter);
    MatrixFactory matrixFactory = new FullMatrixFactory();
   
    algorithm = new ViterbiAlgorithm(calculator,
        CategoryDefaults.BEST_CATEGORY_MAP, matrixFactory);
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.align.matrix.FullMatrixFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.