explain various types of cost - Search