Given a pmfπ on some state space S, how do we draw a sample form π or compute the expected value of π (i.e. X∼π how do we compute Eπ[X])? Well we know that:
π is known up to a multiplicative constant (this is based on the assumptions made in Bayesian Statistics)