classification of cost by time - Search