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