Examples of OneToOneAlgorithm


Examples of align.filter.aligner.align.onetoone.OneToOneAlgorithm

   * Miejsce do umieszczania wszystkich alignerów do przetestowania.
   */
  private List<AlignAlgorithm> createAlignerList() {
    List<AlignAlgorithm> alignerList = new LinkedList<AlignAlgorithm>();
   
    alignerList.add(new OneToOneAlgorithm());
    alignerList.add(new GaleChurchAlignAlgorithm());
    alignerList.add(new MooreAlignAlgorithm());
   
    return alignerList;
  }
View Full Code Here

Examples of net.sourceforge.align.filter.aligner.align.onetoone.OneToOneAlgorithm

   * 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

Examples of net.sourceforge.align.filter.aligner.align.onetoone.OneToOneAlgorithm

      } else {
        throw new UnknownParameterException("search");
      }
    } else if (cls.equals("one-to-one")) {
      boolean one = commandLine.hasOption('o');
      algorithm = new OneToOneAlgorithm(one);
    } else {
      throw new UnknownParameterException("class");
    }
    return algorithm;
  }
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.