Definition of main kinds of behaviors (in interactive tasks) through cost functions.

<p>For simplicity, the time variable was omitted in the cost functions.</p>