Package org.patika.mada.algorithm

Examples of org.patika.mada.algorithm.LocalPathIterationQuery


                "Load or query a BioPAX model first!");

            return;
        }

    LocalPathIterationQuery lpi = new LocalPathIterationQuery(main.getRootGraph());

    // Run BFS from all nodes in the graph and store the result in a set.
    Set<LocalPathIterationQuery.NodePair> result = lpi.run();

    // Convert NodePair set into a sorted array
    LocalPathIterationQuery.NodePair[] resultArray =
      new LocalPathIterationQuery.NodePair[result.size()];
    result.toArray(resultArray);
View Full Code Here

TOP

Related Classes of org.patika.mada.algorithm.LocalPathIterationQuery

Copyright © 2018 www.massapicom. 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.