1  Formulación

El Proceso de Decisión de Markov se compone de los siguientes elementos:

Código
import numpy as np 
import pandas as pd
import matplotlib.pyplot as plt 
from matplotlib.colors import to_rgba
from urllib.request import urlopen
from mplsoccer import Pitch, FontManager, add_image
from PIL import Image

pitch = Pitch(line_color='black',linewidth=1)
fig, ax = pitch.draw()
pitch.lines(40,0,40,80,color = 'gray', linewidth = 1, ax=ax, linestyle = '--')

pitch.lines(80,0,80,80,color = 'gray', linewidth = 1, ax=ax, linestyle = '--')

pitch.annotate(text='$C_1$',xytext=(10,10),xy=(84,45),ax=ax)
pitch.annotate(text='$C_2$',xytext=(50,10),xy=(84,45),ax=ax)
pitch.annotate(text='$C_3$',xytext=(90,10),xy=(84,45),ax=ax)
plt.show()

Donde \(C_1,C_2,C_3\) representa que el balón se encuentre en alguna de las tres divisiones.

Además se agregan tres estados absorbentes:

De esta forma el conjunto de estados \(\mathcal{S}\) queda como

\[ \mathcal{S}=\{C_1,C_2,C_3,L_p,nG,G\} \]