Examples of emptyLetterHashed()


Examples of bgu.bio.util.alphabet.StemStructureAlphabet.emptyLetterHashed()

    double expected = structureScoringMatrix.score(
        stemAlphabet.mapAndHash("U|G"), stemAlphabet.mapAndHash("U|G"))
        + structureScoringMatrix.score(stemAlphabet.mapAndHash("G|C"),
            stemAlphabet.mapAndHash("G|C"))
        - (structureScoringMatrix.score(stemAlphabet.mapAndHash("U|G"),
            stemAlphabet.emptyLetterHashed()) + structureScoringMatrix
            .score(stemAlphabet.mapAndHash("G|C"),
                stemAlphabet.emptyLetterHashed()));
    Assert.assertEquals(expected, diff, 0.01);
  }
View Full Code Here

Examples of bgu.bio.util.alphabet.StemStructureAlphabet.emptyLetterHashed()

        + structureScoringMatrix.score(stemAlphabet.mapAndHash("G|C"),
            stemAlphabet.mapAndHash("G|C"))
        - (structureScoringMatrix.score(stemAlphabet.mapAndHash("U|G"),
            stemAlphabet.emptyLetterHashed()) + structureScoringMatrix
            .score(stemAlphabet.mapAndHash("G|C"),
                stemAlphabet.emptyLetterHashed()));
    Assert.assertEquals(expected, diff, 0.01);
  }

  @Test
  public void testSimilarityWithDangling() {
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.