Examples of toDotFile()


Examples of bgu.bio.adt.graphs.Tree.toDotFile()

  private static void run(String file1, String file2) throws IOException {
    Tree t = buildTree(file1);
    Tree s = buildTree(file2);
    t.toDotFile("/home/milon/1.dot", true);
    s.toDotFile("/home/milon/2.dot", true);

    CostFunction w = new CostFunction() {

      @Override
      public double cost(NodeLabel l1, NodeLabel l2) {
View Full Code Here

Examples of bgu.bio.adt.rna.RNASpecificTree.toDotFile()

            .toCharArray(),
        "((..(......)(((.....)))...(((((.......)))))))...."
            .toCharArray());
    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);
View Full Code Here

Examples of bgu.bio.adt.rna.RNASpecificTree.toDotFile()

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

Examples of bgu.bio.adt.rna.RNASpecificTree.toDotFile()

    tree.buildFromViennaFormat(
        "CGACAGGAAACUGACAAACCCUUUCAUCUUAA".toCharArray(),
        "...((((...))...(((...)))..))....".toCharArray());
    tree.groupByStructure();
    try {
      tree.toDotFile("/home/milon/tmp/1.dot", true);
    } catch (IOException e) {
      e.printStackTrace();
    }

    for (int t = 0; t < tree.getNodeNum(); t++) {
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.