sort algorithm is a very important application algorithm. The understanding and mastery of this algorithm is of great help for the future research and work of undergraduate students. However,in reality, understanding ...
详细信息
sort algorithm is a very important application algorithm. The understanding and mastery of this algorithm is of great help for the future research and work of undergraduate students. However,in reality, understanding of these algorithms is not accurate, and the students could not grasp the idea of the algorithms. In this paper, based on the needs of the construction of Application University, we design a teaching flowchart for the sort algorithm, which has a guiding role for students.
Bubble sort algorithm and its variants are discussed in detail. Bubble sort algorithm is the slowest one in application;improved bubble sort algorithm is superior to it because of the introduction of flag variant and ...
详细信息
Bubble sort algorithm and its variants are discussed in detail. Bubble sort algorithm is the slowest one in application;improved bubble sort algorithm is superior to it because of the introduction of flag variant and the forward movement of end index;improved bubble sort algorithm moves the end index more quickly;bidirectional bubble sort algorithm quickly moves the end index forwards and the start index backwards at the same time. In all these algorithms, bidirectional bubble sort algorithm is especially suitable to those sequence parts items of which are already in expected order. Bidirectional bubble sort algorithm is of great significance and has the highest efficiency.
The teach of sorting algorithms in data structure discipline of Computer courses, typically is accomplished through lectures and implementation of algorithms by students. With the aim of support the teaching algorithm...
详细信息
ISBN:
(纸本)9788576693178
The teach of sorting algorithms in data structure discipline of Computer courses, typically is accomplished through lectures and implementation of algorithms by students. With the aim of support the teaching algorithms, this paper presents the sortIA 2.0 game, which aims to teach the Heapsortsorting algorithm through simulation of its execution. It is an online game, single player and free. To evaluate the game we used the model for assessment educational game MEEGA. The evaluation involved 25 students of the discipline of data structure of Computer Science course, of the Federal University of Santa Catarina (UFSC).The results of this first evaluation show that students felt satisfied, confident, immersed and have fun with the game, but principally consider that it really contributes to learning the discipline and also professionally.
In this paper we present parallel genetic algorithm that was used to the task of evolving imperative sort programs. A variety of interesting lessons were learned. With proper selection of the primitives, sorting progr...
详细信息
ISBN:
(纸本)9783642404955;9783642404948
In this paper we present parallel genetic algorithm that was used to the task of evolving imperative sort programs. A variety of interesting lessons were learned. With proper selection of the primitives, sorting programs were evolved that are both general and non-trivial. Unique aspect of our approach is that we represent the individual programs with simple assembler code, rather than usual tree like structure. We also report the effect of different parameters on quality of the programs and time needed for finding the solution.
Reinforcement Programming (RP) is a new approach to automatically generating algorithms, that uses reinforcement learning techniques. This paper describes the RP approach and gives results of experiments using RP to g...
详细信息
ISBN:
(纸本)9781424481262
Reinforcement Programming (RP) is a new approach to automatically generating algorithms, that uses reinforcement learning techniques. This paper describes the RP approach and gives results of experiments using RP to generate a generalized, in-place, iterative sort algorithm. The RP approach improves on earlier results that that use genetic programming (GP). The resulting algorithm is a novel algorithm that is more efficient than comparable sorting routines. RP learns the sort in fewer iterations than GP and with fewer resources. Results establish interesting empirical bounds on learning the sort algorithm: A list of size 4 is sufficient to learn the generalized sort algorithm. The training set only requires one element and learning took less than 200,000 iterations. RP has also been used to generate three binary addition algorithms: a full adder, a binary incrementer, and a binary adder.
Quick sorting is one of the sorting algorithms with good performance. However, there is a bottleneck of its performance in dealing with massive data with high repetition rate. Therefore, a new effective quick sorting ...
详细信息
ISBN:
(纸本)9783037859162
Quick sorting is one of the sorting algorithms with good performance. However, there is a bottleneck of its performance in dealing with massive data with high repetition rate. Therefore, a new effective quick sorting algorithm is proposed in this study. This approach possesses the advantage of conciseness of quick sorting algorithms while avoiding the disadvantages of recursive algorithms. The time complexity is O(n), and the space complexity is O(1). Theoretical analysis and experimental data have shown that its performance is superior to the original quick sorting algorithm, and it is applicable to the processing of massive data with high repetition rate.
Based on insertion, Quick-sort and Merge-sort algorithms, this paper proposes an improved method about indexing and presents its corresponding parallel algorithm. Introduction of index table increases memory consumpti...
详细信息
ISBN:
(纸本)9781424435340
Based on insertion, Quick-sort and Merge-sort algorithms, this paper proposes an improved method about indexing and presents its corresponding parallel algorithm. Introduction of index table increases memory consumption but decreases consumption of record movement in sorting. The experiment demonstrates that executing CPU time of indexing-based sort algorithm is evidently less than that of other sort algorithms. Based on index table and parallel computing, the Merge-sort algorithm saved the waiting and disposal time in which every two sub-merging sequences are sorted in single processor computer. This obtained better efficiency than the original Merge-sort algorithm.
The shortest ray path method based on graphic structure overcomes the drawbacks and limitations of traditional ray-tracing methods, but the computation time and accuracy of the results need to be improved. This paper ...
详细信息
The shortest ray path method based on graphic structure overcomes the drawbacks and limitations of traditional ray-tracing methods, but the computation time and accuracy of the results need to be improved. This paper introduces Bresenham line algorithm into the traveltime calculating of nodes to improve the accuracy of traveltime and ray path results. To speed up computation, it uses Quicksort algorithm and Insertion sort algorithm instead of usually used Heapsort algorithm. We take advantage of the node configuration presented in this paper to introduce the velocity interface, and accordingly get the algorithm of reflection ray tracing .Numerical tests proved that it is an flexible and efficient ray tracing method.
Parallel sorting algorithms in hypercubes have been studied extensively. One of the practical parallel sorting algorithms is Bitonic sort, which is implemented in O(n(2)) time for sorting N = 2(n) numbers in an n-cube...
详细信息
ISBN:
(纸本)9783642030949
Parallel sorting algorithms in hypercubes have been studied extensively. One of the practical parallel sorting algorithms is Bitonic sort, which is implemented in O(n(2)) time for sorting N = 2(n) numbers in an n-cube. A versatile family of interconnection networks alternative to hypercube, called metacube, was proposed for building extremely large scale multiprocessor systems with a small number of links per node. A metacube MC(k, m) connects 2(2km+k) nodes with only k + m links per node. In this paper, we present an efficient sorting algorithm on metacube multiprocessors. The proposed sorting algorithm is based on the Batcher's bitonic sorting algorithm. In order to perform the parallel sorting efficiently in metacube, we give a new presentation of the metacube such that the communications required by the algorithm can be done efficiently with gather and scatter operations. The parallel bitonic sort algorithm implemented in metacubes with the new presentation runs in O(2m(k) + k)(2) computation steps and O(2(m)(k)(2k + 1) + k)(2) communication steps.
暂无评论