Package stallone.mc

Examples of stallone.mc.MarkovChain


        return(dexp);
    }

    public IMarkovChain markovChain(IDoubleArray T)
    {
        return new MarkovChain(T);
    }
View Full Code Here


        return new MarkovChain(T);
    }

    public IMarkovChain markovChain(IDoubleArray startingDistribution, IDoubleArray T)
    {
        return new MarkovChain(startingDistribution, T);
    }
View Full Code Here

    /**
     * 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

    /**
     * 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

Related Classes of stallone.mc.MarkovChain

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.