Ejemplo n.º 1
0
    private void CalculateWeatherState()
    {
        if (tempProbabilities != probabilities)
        {
            Debug.Log("CHANGED");
            UpdateProbabilities();
        }

        currentState = markovChain.CalculateWeatherState(states, transitions, probabilities);
        runs++;
        Debug.Log("Run: " + runs + " State: " + currentState);
    }