explain different types of cost - Search