About the only reason I'll see for calculations like that could be on generating some kind of list of all possible actions at the turn on a Game. That is there are numerous cards with different costs (or units with different movements) and the algorithm is trying to maximize the effect gained with certain point value.
Anyhow.. those can become quite big/slow quite easily..