Package net.sourceforge.align.filter.aligner

Examples of net.sourceforge.align.filter.aligner.Aligner


      new ForwardBackwardAlgorithmFactory();
   
    AlignAlgorithm algorithm =
      new AdaptiveBandAlgorithm(algorithmFactory, calculator);
   
    Filter filter = new Aligner(algorithm);
   
    return filter.apply(alignmentList);

  }
View Full Code Here


      new ForwardBackwardAlgorithmFactory();
   
    AlignAlgorithm algorithm =
      new AdaptiveBandAlgorithm(algorithmFactory, calculator);
   
    filterList.add(new Aligner(algorithm));
   
    filterList.add(new OneToOneSelector());
   
    filterList.add(new FractionSelector(SELECT_FRACTION));
   
View Full Code Here

      new ForwardBackwardAlgorithmFactory();
   
    AlignAlgorithm algorithm =
      new AdaptiveBandAlgorithm(algorithmFactory, calculator);

    Filter filter = new Aligner(algorithm);
   
    return filter.apply(alignmentList);
    
  }
View Full Code Here

      new ForwardBackwardAlgorithmFactory();
   
    AlignAlgorithm algorithm =
      new AdaptiveBandAlgorithm(algorithmFactory, calculator);
   
    filterList.add(new Aligner(algorithm));
   
    filterList.add(new OneToOneSelector());
   
    filterList.add(new FractionSelector(SELECT_FRACTION));
   
View Full Code Here

      new ForwardBackwardAlgorithmFactory();
   
    AlignAlgorithm algorithm =
      new AdaptiveBandAlgorithm(algorithmFactory, calculator);

    Filter filter = new Aligner(algorithm);
   
    return filter.apply(alignmentList);
    
  }
View Full Code Here

      new ViterbiAlgorithmFactory();
   
    AlignAlgorithm algorithm =
      new AdaptiveBandAlgorithm(algorithmFactory, calculator);
   
    Filter filter = new Aligner(algorithm);
   
    return filter.apply(alignmentList);

  }
View Full Code Here

      new ForwardBackwardAlgorithmFactory();
   
    AlignAlgorithm algorithm =
      new AdaptiveBandAlgorithm(algorithmFactory, calculator);
   
    Filter filter = new Aligner(algorithm)
   
    return filter.apply(alignmentList);
  }
View Full Code Here

      new ForwardBackwardAlgorithmFactory();
   
    AlignAlgorithm algorithm =
      new AdaptiveBandAlgorithm(algorithmFactory, calculator);

    Filter filter = new Aligner(algorithm);
   
    return filter.apply(alignmentList);
    
  }
View Full Code Here

    SplitAlgorithm splitAlgorithm = new SplitAlgorithmMock(1);
    AlignAlgorithm alignAlgorithm = new AlignAlgorithmMock(2);
    MergeAlgorithm mergeAlgorithm = new SeparatorMergeAlgorithm();
    List<Filter> filterList = new ArrayList<Filter>();
    filterList.add(new Modifier(splitAlgorithm, splitAlgorithm));
    filterList.add(new Aligner(alignAlgorithm));
    filterList.add(new Modifier(mergeAlgorithm, mergeAlgorithm));
    CompositeFilter composite = new CompositeFilter(filterList);
    List<Alignment> alignmentList = createAlignmentList(
        SOURCE_SEGMENT_ARRAY, TARGET_SEGMENT_ARRAY);
    List<Alignment> resultAlignmentList = composite.apply(alignmentList);
View Full Code Here

   * Tests whether alignments with infinite score are ignored and
   * the ones without are not by using {@link OneToOneAlgorithm} aligner.
   */
  @Test
  public void testIgnoreInfiniteProbability() {
    Filter oneToOneAligner = new Aligner(new OneToOneAlgorithm());
    Filter filter =
      new IgnoreInfiniteProbabilityAlignmentsFilterDecorator(oneToOneAligner);

    List<Alignment> alignmentList = createAlignmentList(
        SOURCE_SEGMENT_ARRAY, TARGET_SEGMENT_ARRAY);
View Full Code Here

TOP

Related Classes of net.sourceforge.align.filter.aligner.Aligner

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.