Examples of nextPathway()


Examples of stallone.mc.tpt.PathwayDecomposition.nextPathway()

            List<Double> allFluxes = new ArrayList<Double>();
            int[] path = null;
            double totalFlux = 0;
            do
            {
                path = decomp.nextPathway();
                if (path != null)
                {
                    allPaths.add(path);
                    allFluxes.add(decomp.getCurrentFlux().doubleValue());
                    totalFlux += decomp.getCurrentFlux().doubleValue();
View Full Code Here

Examples of stallone.mc.tpt.PathwayDecomposition.nextPathway()

    public void test()
    {
        PathwayDecomposition decomp = new PathwayDecomposition(F, Q.getArray(),
                                                A.getArray(), B.getArray());
        // FIXME: why is this null in the first call? did we miss a function call before this?
        int[] nextPathway = decomp.nextPathway();
        if (nextPathway != null) {
            BigDecimal computeCurrentFlux = decomp.computeCurrentFlux();
        } else
        {
            System.out.println("no more pathways");
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.