An anytime algorithm for trust propagation in social networks