Work

Maximum Subarray Problem Optimization for Specific Data

Year: 2017
Type: article
Abstract: The maximum subarray problem (MSP) is to the find maximum contiguous sum in an array. This paper describes a method of Kadanes algorithm (the state of the art) optimization for specific data (continuous sequences of zeros or negative real numbers). When the data are unfavourable, the modification of the algorithm causes a non significant performance loss (1% > decrease in performance). The modification does not improve time complexity but reduces the number of elementary operations. Various experimental data sets have been used to evaluate possible time efficiency improvement. For the most favourable data sets an increase in efficiency of 25% can be achieved.
Author: Tomasz Rojek
Language: English
Open Access status: diamond
OpenAlex ID: W2779871249
FWCI:
Cites: 8
Cited by:
Related to: 9