A Novel Framework To Efficient Path Planning Through Real-Time Cost Map Generation Using Neural Networks For Search And Rescue Missions