Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » need help with a lab report(Sorting lab report)
need help with a lab report [message #641863] Sun, 28 November 2010 22:03
No real name is currently offline No real nameFriend
Messages: 10
Registered: November 2010
Junior Member
in my computer science class i recently performed an experiment on various bubble sort algorithms with different optimization. However i am having trouble understanding my results.

During the experiment i tested the following bubble sorts:
Bubble sort, Bubble sort with end early, bubble sort with shrinking limits, Bubble sort with both, Bi-directional, Bi-directional with shrinking limits. Bi-directional with end early, and Bi-directional with shrinking limits and end early.

The results were obtained by running each sort through a random number set, and a descending data set.

What i noticed with my results is that the sorts with end early optimizations are consistently slower than other sorts when used on their own, and i cant figure out why. Can someone help me out here?
Previous Topic:org.eclipse.jdt.core as Ecore model?
Next Topic:Some classes: no Warnings. Why?
Goto Forum:
  


Current Time: Fri Apr 19 09:52:47 GMT 2024

Powered by FUDForum. Page generated in 0.01668 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top