Examples of calculateCost()


Examples of bgu.bio.adt.rna.costs.RnaSpecificSmoothCost.calculateCost()

    t.buildFromViennaFormat(
        "GCCUGAAGGGACGCCUGAAGGGA".toCharArray(),
        "(((.....))).(((.....)))".toCharArray());
   
    prune.calculateCost(t);
    smooth.calculateCost(t);
   
    try {
      t.toDotFile("/home/milon/tmp/1.dot", true);
    } catch (IOException e) {
      // TODO Auto-generated catch block
View Full Code Here

Examples of bgu.bio.adt.rna.costs.RnaSpecificSmoothCost.calculateCost()

            .toCharArray(),
        "...((((.......((((((..(((((........((((..........))))...........................................(.((((.(((.......))).)))).)..(((((..(((((((.......)))))))....)))))....................(((..((((.........))))..)))..................(((((...(((.((((.........))))).))..)))))......................))))).....)).))))......))))............"
            .toCharArray());

    prune.calculateCost(t);
    smooth.calculateCost(t);

    RNASpecificTree s = new RNASpecificTree();
    // s.buildFromViennaFormat("GGACCGAUGGUAGUGUCUUCGGAUGCGAGAGUAGGUC".toCharArray(),
    // ".((((((((((((((((....))))))))))))))))".toCharArray());
    // s.buildFromViennaFormat("GAGGGGAUGAAAAUCCCCUCGAGGGGAUGAAAAUCCCCUCGAGGGGAUGAAAAUCCCCUCGAGGGGAUGAAAUCCCCUC".toCharArray(),
View Full Code Here

Examples of bgu.bio.adt.rna.costs.RnaSpecificSmoothCost.calculateCost()

            .toCharArray(),
        "((((..(((((((.((((((...((((((((((.................(((((((.((.((((((((....((((((((((((.((((...((((.(((...........))).)).))..)))).))))))))))))............)))))))).)).)))))))........................(((((((...((((((((((.((((.((((..((((((((.((((((((.(((.((.....((((((.....((((((((.(((((((.(((((...........))))))))..))))..))))))))...........))))))..........)).))).)).)))))).))))(.(((((.(((.........((((((((((((.......))))).))..)))))...............)))))))))..))))..))))....)))))))))))))).....)))))))..........................))))))))))...)))))).)))))))..))))"
            .toCharArray());

    prune.calculateCost(s);
    smooth.calculateCost(s);

    TIntArrayList[] alignment = new TIntArrayList[3];
    MatcherFactory matcherFactory = new UnorderedMatcherFactory();
    // MatcherFactory matcherFactory = new OrderedMatcherFactory();
    HSA hsa = new HSA(cost, matcherFactory);
View Full Code Here

Examples of bgu.bio.adt.rna.costs.RnaSpecificTypeRelatedTreePruning.calculateCost()

    sR.shuffle(rand);
    sR.toFASTAFile("sR.fasta");
    sR.toDotFile("sR.dot", false);
    s.toDotFile("s.dot", false);
    t.toDotFile("t.dot", false);
    prune2.calculateCost(t);
    prune2.calculateCost(s);
    prune2.calculateCost(sR);
   
    smooth.calculateCost(t);
    smooth.calculateCost(s);
View Full Code Here

Examples of bgu.bio.adt.rna.costs.RnaSpecificTypeRelatedTreePruning.calculateCost()

    sR.toFASTAFile("sR.fasta");
    sR.toDotFile("sR.dot", false);
    s.toDotFile("s.dot", false);
    t.toDotFile("t.dot", false);
    prune2.calculateCost(t);
    prune2.calculateCost(s);
    prune2.calculateCost(sR);
   
    smooth.calculateCost(t);
    smooth.calculateCost(s);
    smooth.calculateCost(sR);
View Full Code Here

Examples of bgu.bio.adt.rna.costs.RnaSpecificTypeRelatedTreePruning.calculateCost()

    sR.toDotFile("sR.dot", false);
    s.toDotFile("s.dot", false);
    t.toDotFile("t.dot", false);
    prune2.calculateCost(t);
    prune2.calculateCost(s);
    prune2.calculateCost(sR);
   
    smooth.calculateCost(t);
    smooth.calculateCost(s);
    smooth.calculateCost(sR);
   
View Full Code Here

Examples of bgu.bio.adt.rna.costs.RnaSpecificTypeRelatedTreePruning.calculateCost()

        "NNNUAUAGUUUGAGUUCGAUUGCGCUUCGUAUGUUGCGUCUACGUAAAAACGCUCAGUUUAAAUUAUAACUGCAAAAAAUAAUAACAAUUCUUACGCUUUAGCUGCCUAAUAAGCGCUUAACGUAGAUCCUCCCAGGAUCGUCCAUGUUCUGGAUCUGGGUCCUAAAUUUAGUGGACUUACGCUCAAAGCUUCCACCUGGAGUUGCGAGAAGAGACUAAUCAGGUUAGUCAUUGCUGGGUGCCCUGUCAUACGGCGUUUGCAAUGAUGAAAUUUAAAUAGUAUGAAUAUGAGCGUAGAUAUCCGAGGGGCAAUAUGCUUAGACGCNNN"
            .toCharArray(),
        "...((((.......((((((..(((((........((((..........))))...........................................(.((((.(((.......))).)))).)..(((((..(((((((.......)))))))....)))))....................(((..((((.........))))..)))..................(((((...(((.((((.........))))).))..)))))......................))))).....)).))))......))))............"
            .toCharArray());

    prune.calculateCost(t);
    smooth.calculateCost(t);

    RNASpecificTree s = new RNASpecificTree();
    // s.buildFromViennaFormat("GGACCGAUGGUAGUGUCUUCGGAUGCGAGAGUAGGUC".toCharArray(),
    // ".((((((((((((((((....))))))))))))))))".toCharArray());
View Full Code Here

Examples of bgu.bio.adt.rna.costs.RnaSpecificTypeRelatedTreePruning.calculateCost()

        "GGCGACACGGAUUCCAGUGCAUAUCUUAGUGAUACUCCAGUUAACUCCAUACUUUCCCUGCAAUACGCUAUUCGCCUCAGAUGUAUUUGGGUGGUUGCUCCACUAAAGCCCAGGAAUAUCCAGCCAGUUACAUUUGAGGCCAUUUGGGCUUAAGCGUAUUCCAUGGAAAGUUUUCUCCCCACAUUUCGGAAAUUAAAUUCCGAGCCAGCAAGAAAAUCUUCUCUGUUACAAUUUGACAUGGCUAAAAACUGUACUAAUCAAAAUGAAAAAUGUUUCUCUUGGGCGUAAUCUCAUACAAUGAUUACCCUUAAAGAUCGAACAUUUAAACAAUAAUAUUUGAUAUGAUAUUUUCAAUUUCUAUGCUAUGCCAAAGUGUCUGACAUAAUCAAACAUUUGCACAUUCUUUGACCAAGAAUAGUCAGCAAAUUGUAUUUUCAAUCAAUGCAGACCAUAUGUUCCAGUUUCGGAGAUUUUUUGCUGCCAAACGGAAUACUUAUAAAAACCCACAUUCUAUUUACAUCACUAAGAAGAGCAUUGCAAUCUGUUUAGCC"
            .toCharArray(),
        "((((..(((((((.((((((...((((((((((.................(((((((.((.((((((((....((((((((((((.((((...((((.(((...........))).)).))..)))).))))))))))))............)))))))).)).)))))))........................(((((((...((((((((((.((((.((((..((((((((.((((((((.(((.((.....((((((.....((((((((.(((((((.(((((...........))))))))..))))..))))))))...........))))))..........)).))).)).)))))).))))(.(((((.(((.........((((((((((((.......))))).))..)))))...............)))))))))..))))..))))....)))))))))))))).....)))))))..........................))))))))))...)))))).)))))))..))))"
            .toCharArray());

    prune.calculateCost(s);
    smooth.calculateCost(s);

    TIntArrayList[] alignment = new TIntArrayList[3];
    MatcherFactory matcherFactory = new UnorderedMatcherFactory();
    // MatcherFactory matcherFactory = new OrderedMatcherFactory();
View Full Code Here

Examples of bgu.bio.adt.rna.costs.RnaSpecificTypeRelatedTreePruning.calculateCost()

        "GAUAGAUGGUCUGGGUGUCGCCAGAUCGGGGUNCAAUUCCCCGUCGCCA"
            .toCharArray(),
        "((..(......)(((.....)))...(((((.......)))))))...."
            .toCharArray());
    sR.shuffle(rand);
    prune.calculateCost(t);
    prune.calculateCost(s);
    prune.calculateCost(sR);

    smooth.calculateCost(t);
    smooth.calculateCost(s);
View Full Code Here

Examples of bgu.bio.adt.rna.costs.RnaSpecificTypeRelatedTreePruning.calculateCost()

            .toCharArray(),
        "((..(......)(((.....)))...(((((.......)))))))...."
            .toCharArray());
    sR.shuffle(rand);
    prune.calculateCost(t);
    prune.calculateCost(s);
    prune.calculateCost(sR);

    smooth.calculateCost(t);
    smooth.calculateCost(s);
    smooth.calculateCost(sR);
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.