Package stallone.stat.modelselection

Examples of stallone.stat.modelselection.ExitTimeSplitter.run()


    public int[] splitNonexponentialLifetimes(IIntList states, IDoubleList lifetimes)
    {
        ExitTimeSplitter splitter = new ExitTimeSplitter();
        for (int i=0; i<states.size(); i++)
            splitter.add(states.get(i), lifetimes.get(i));
        splitter.run();
        return splitter.getNewStateAssignment();
    }

    /**
     * Splits states with nonexponential lifetime distributions.
View Full Code Here


    public int[] splitNonexponentialLifetimes(int[] states, double[] lifetimes)
    {
        ExitTimeSplitter splitter = new ExitTimeSplitter();
        for (int i=0; i<states.length; i++)
            splitter.add(states[i], lifetimes[i]);
        splitter.run();
        return splitter.getNewStateAssignment();
    }
}
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.