Difference between % of completion, Cost recovery, and Instalment methods

I'm having a hard time understanding these methods of cost allocation. Can someone clarify with a short example, thanks in advance.