Package org.openbel.framework.api

Examples of org.openbel.framework.api.BasicPathFinder


    @Override
    public List<SimplePath> findPaths(final Kam kam,
            final List<KamNode> sources,
            final List<KamNode> targets, final int maxSearchDepth)
            throws PathFindServiceException {
        final PathFinder pathFinder = new BasicPathFinder(kam);

        final Kam.KamNode[] sourceKamNodes =
                convert(kam, sources);

        final Kam.KamNode[] targetKamNodes =
                convert(kam, targets);

        final org.openbel.framework.api.SimplePath[] paths = pathFinder
                .findPaths(sourceKamNodes, targetKamNodes);

        final List<SimplePath> wsSimplePaths = new ArrayList<SimplePath>(
                paths.length);
View Full Code Here


    @Override
    public List<SimplePath> scan(final Kam kam,
            List<KamNode> sources,
            final int maxSearchDepth)
            throws PathFindServiceException {
        final PathFinder pathFinder = new BasicPathFinder(kam);

        final Kam.KamNode[] sourceKamNodes =
                convert(kam, sources);

        final org.openbel.framework.api.SimplePath[] paths = pathFinder
                .scan(sourceKamNodes);

        final List<SimplePath> wsSimplePaths = new ArrayList<SimplePath>(
                paths.length);
View Full Code Here

    @Override
    public List<SimplePath> interconnect(final Kam kam,
            List<KamNode> sources,
            final int maxSearchDepth)
            throws PathFindServiceException {
        final PathFinder pathFinder = new BasicPathFinder(kam, maxSearchDepth);

        final Kam.KamNode[] sourceKamNodes =
                convert(kam, sources);

        final org.openbel.framework.api.SimplePath[] paths = pathFinder
                .interconnect(sourceKamNodes);

        final List<SimplePath> wsSimplePaths = new ArrayList<SimplePath>(
                paths.length);
View Full Code Here

TOP

Related Classes of org.openbel.framework.api.BasicPathFinder

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.