Examples of IMarkovChain


Examples of stallone.api.mc.IMarkovChain

    /**
     * Creates a stochastic realization of the chain
     */
    public IIntArray trajectory(IDoubleArray T, int s, int length)
    {
        IMarkovChain mc = new MarkovChain(T);
        mc.setStartingState(s);
        return mc.randomTrajectory(length);
    }
View Full Code Here

Examples of stallone.api.mc.IMarkovChain

    /**
     * Creates a stochastic realization of the chain
     */
    public IIntArray trajectoryToState(IDoubleArray T, int s, int[] endStates)
    {
        IMarkovChain mc = new MarkovChain(T);
        mc.setStartingState(s);
        return mc.randomTrajectoryToState(endStates);
    }
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.