Examples of Aligner


Examples of align.aligner.Aligner

public class SimpleTaskTest extends TestCase {
 
  public void testUseDifferentSplitters() throws AlignmentImpossibleException {
    Splitter sourceSplitter = new SplitterMock(1);
    Splitter targetSplitter = new SplitterMock(2);
    Aligner aligner = new AlignerMock();   
    SimpleTask task =
      new SimpleTask(sourceSplitter, targetSplitter, aligner);
    List<Alignment> alignmentList = task.run("abcd", "efgh");
    assertEquals(1, alignmentList.size());
    Alignment alignment = alignmentList.get(0);
View Full Code Here

Examples of align.aligner.Aligner

  private SimpleTask task;
 
  public void setUp() {
    Splitter sourceSplitter = new SplitterMock(1);
    Splitter targetSplitter = new SplitterMock(2);
    Aligner aligner = new AlignerMock();   
    task = new SimpleTask(sourceSplitter, targetSplitter, aligner);
  }
View Full Code Here

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

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

      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

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

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

      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

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

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

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

  }
View Full Code Here

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

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
TOP
Copyright © 2018 www.massapi.com. 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.