APP下载

折半查找算法在最优化问题中的应用

2012-04-29魏少涵

计算机时代 2012年9期
关键词:最优化

魏少涵

摘要: 折半查找是一种常见的静态查找方法,在特定的、有序的查找区间内,通过折半方式不断地缩小查找区间,将区间中间位置的元素与给定元素加以比较,最终确定查找结果。在此传统折半查找基础上,总结了一种抽象化的改进方法,并将此改进后的折半查找算法应用于最优化问题的求解。

关键词: 折半查找; 最优化; 递归; 抽象化

中图分类号:TP312文献标志码:A 文章编号:1006-8228(2012)09-31-02

Application of binary search algorithm in optimization problems

Wei Shaohan1,2

(1. Fuzhou Strait Vocational & Technical College, Computer and Communication Engineering Department, Fuzhou, Fujian 350014, China;

2. Fujian University of Technology, Guomai Information College, Computer and Information Science Department)

Abstract: Binary search is a common static search method. It minimizes the search interval by reducing the sorted interval by half and compares the value of the middle position with the given value to reach a conclusion. Based on this traditional binary search algorithm, an abstract improvement is presented so that it can be used to solve optimization problems.

Key words: binary search; optimization; recursion; abstraction

猜你喜欢

最优化
供应中断下最优分配和应急采购策略的比较
导数理论在最优化经济数学模型中的应用研究
浅谈初中数学概念的教学
小议初中语文课堂教学的导入
基于学习效果最优化的民办高校教学改革措施刍议
最优化,永远的教学追求
新课改情景下的初中政治教学方法综合
音乐课堂中互联网运用的问题与对策研究
高中化学习题课优化教学策略
基于节约里程法对利民公司配送路径最优化研究