Define Ridge In Search Algorithm