So far I have found that the Wizard Book always provides the required algorithm, or enough discussion to work it out.