Comparison of utility functions for routing in cognitive wireless ad-hoc networks