Random heuristic search: applications to GAs and functions of unitation