首页> 美国政府科技报告 >NOT(Faster Implementation ==> Better Algorithm), A Case Study
【24h】

NOT(Faster Implementation ==> Better Algorithm), A Case Study

机译:NOT(更快的实现==>更好的算法),案例研究

获取原文

摘要

Given two algorithms that perform the same task, one may ask which is better. One simple answer is that the algorithm that delivers the 'best' answer is the better algorithm. But what if both algorithms deliver results of similar quality. In this case, a common metric that is utilized to differentiate between the two algorithms is the time to find a solution. Measurements, however, must be performed using an implementation of an algorithm (not an abstract algorithm) and must be taken using specific test data. Because the effects of implementation quality and test data selection may be large, the measured time metric is an insufficient measure of algorithm performance and quality. In this paper we present the specific case of several different implementations of the same Dijkstra graph search algorithm applied to graphs with various branching factors. Our experimental results show that quality rankings based on time may be heavily influenced by the choice of operational scenario and code quality. In addition, we explore possible alternative ranking schemes for the specific case of Dijkstra graph search algorithms.

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号