Examples of ProtoNetworkDescriptor


Examples of org.openbel.framework.core.protonetwork.ProtoNetworkDescriptor

        final StringBuilder bldr = new StringBuilder();
        bldr.append("Saving network");
        stageOutput(bldr.toString());

        long t1 = currentTimeMillis();
        ProtoNetworkDescriptor ret =
                p2.stage4WriteEquivalentProtoNetwork(eqNetwork,
                        artifactPath.getAbsolutePath());

        if (withDebug()) {
            try {
View Full Code Here

Examples of org.openbel.framework.core.protonetwork.ProtoNetworkDescriptor

        // bldr.append(protoNetwork);
        // phaseOutput(bldr.toString());

        phaseOutput(format("=== %s ===", getApplicationName()));

        ProtoNetworkDescriptor pnd = new BinaryProtoNetworkDescriptor(
                protoNetwork);

        BinaryProtoNetworkExternalizer bpne =
                new BinaryProtoNetworkExternalizer();
        ProtoNetwork gpn = null;
View Full Code Here

Examples of org.openbel.framework.core.protonetwork.ProtoNetworkDescriptor

        try {
            Iterator<ProtoNetworkDescriptor> it =
                    protoNetworkDescriptors.iterator();

            // Grab first proto network and iteratively merge the rest.
            ProtoNetworkDescriptor pnd = it.next();
            mergedNetwork = protoNetworkService.read(pnd);
            while (it.hasNext()) {
                ProtoNetwork nextPn = protoNetworkService.read(it.next());
                protoNetworkService.merge(mergedNetwork, nextPn);
            }
View Full Code Here

Examples of org.openbel.framework.core.protonetwork.ProtoNetworkDescriptor

        }
        if (protoNetworkRoot == null) {
            throw new InvalidArgument("protoNetworkRoot", protoNetworkRoot);
        }

        ProtoNetworkDescriptor protoNetworkDescriptor = null;
        try {
            protoNetworkDescriptor = protoNetworkService.write(
                    protoNetworkRoot, protoNetwork);
        } catch (ProtoNetworkError e) {
            error("Could not write out equivalent proto network.");
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.