Package net.sourceforge.align.calculator.length.counter

Examples of net.sourceforge.align.calculator.length.counter.Counter


  private List<Alignment> contentAlign(List<Alignment> alignmentList,
      List<Alignment> bestAlignmentList) {
   
    List<Calculator> calculatorList = new ArrayList<Calculator>();
   
    Counter counter = new SplitCounter();
    calculatorList.add(new PoissonDistributionCalculator(counter, alignmentList));
   
    calculatorList.add(new TranslationCalculator(bestAlignmentList));

    Calculator calculator = new CompositeCalculator(calculatorList);
View Full Code Here


  /**
   * Constructs algorithm object. It is similar to Gale and Church algorithm.
   */
  @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.calculator.length.counter.Counter

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.