Invariant Probabilities of Transition Functions