Docsity

Markov Models in Computer Simulation: Understanding Nondeterministic State Transitions - P, Study notes of Computer Science

Toggle sidebar
bg1
CAP 4800/5805 Computer Simulation Concepts
Lecture 14 and 17
Markov model
• Markov models are state machines like finite state automata, but the major difference
is that Markov machines are nondeterministic
• Each arc in the Markov graph model is labeled with a probability of taking that arc
when transitioning to another state
• Formal definition
1. MARKOV = <P, O, Q, δ, λ>
2. P = [0.0, 1.0]
3. δ : Q × P → Q
4. λ : Q → O
- P is the set of probabilities, Q is the state set, δ is the state transition function,
and λ is the output function
Markov matrix
P{Xn+1 = j | Xn = i} = P(i, j)
P(i, j) means the probability of transitioning from state i to state j
pf3
pf4
pf5

Partial preview of the text

Download Markov Models in Computer Simulation: Understanding Nondeterministic State Transitions - P and more Study notes Computer Science in PDF only on Docsity!

CAP 4800/5805 Computer Simulation Concepts

Lecture 14 and 17

Markov model

  • Markov models are state machines like finite state automata, but the major difference is that Markov machines are nondeterministic
  • Each arc in the Markov graph model is labeled with a probability of taking that arc when transitioning to another state
  • Formal definition
    1. MARKOV = < P , O , Q , δ, λ>
    2. P = [0.0, 1.0]
    3. δ : Q × P → Q
    4. λ : Q → O - P is the set of probabilities, Q is the state set, δ is the state transition function, and λ is the output function

Markov matrix P { Xn+1 = j | Xn = i } = P ( i , j ) P ( i , j ) means the probability of transitioning from state i to state j

Example

  • Process flow chart
  • Markov model
  1. δ : Q × P → Q
  2. λ : Q → O

Markov model with input

Production-based models

  • Superstate: a subset (rather than an element) of state space
  • Declarative modeling would be limited to models delineating transitions from one unique state to another
  • Superstate concept permits us to bridge the gap between the state space systems approach and advanced declarative modeling methods → mapping a group of states to another group of states
  • Mapping example o Mapping

o Production rules

-? means “match any number” and? x means match any number and store the number in the variable x