Package stallone.stat.modelselection

Examples of stallone.stat.modelselection.ExitTimeSplitter


        return new GaussianUnivariate(0,0);
    }

    public ExitTimeSplitter exitTimeSplitter(IIntList states, IDoubleList lifetimes)
    {
        ExitTimeSplitter splitter = new ExitTimeSplitter();
        for (int i=0; i<states.size(); i++)
            splitter.add(states.get(i), lifetimes.get(i));

        return splitter;
    }
View Full Code Here


     * @param lifetimes for each event its lifetime
     * @return the new state index assignment
     */
    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();
    }
View Full Code Here

     * @param lifetimes for each event its lifetime
     * @return the new state index assignment
     */
    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

Related Classes of stallone.stat.modelselection.ExitTimeSplitter

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.