Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Simulation

simulation

  • Please log in to reply
4 replies to this topic

#1 rapidcybey

rapidcybey

    CC Lurker

  • New Member
  • Pip
  • 8 posts

Posted 26 August 2011 - 09:49 AM

My assignment is to program a simulation.

its to simulate the sorting methods available example : insertion sort , bubble sort , merge sort etc

i am wondering how to do it using java any tips , guides really appreciate the help in this regard. :)
  • 0

#2 farrell2k

farrell2k

    CC Addict

  • Advanced Member
  • PipPipPipPipPip
  • 169 posts

Posted 28 August 2011 - 02:14 AM

Google java bubble sort, insertion sort, etc. There are many code examples.
  • 0

Averageloser.com - I used to be a programmer like you, then I took a -> in the knee. 


#3 irfan_s

irfan_s

    CC Regular

  • Member
  • PipPipPip
  • 27 posts

Posted 28 August 2011 - 02:22 AM

i wonder, what do you mean under simulate? make a "core dump" after every move to stdout to show how its done?
  • 0

#4 lethalwire

lethalwire

    while(false){ ... }

  • Senior Member
  • PipPipPipPipPipPip
  • 766 posts
  • Programming Language:C, Java, PHP, JavaScript
  • Learning:PHP

Posted 28 August 2011 - 07:03 AM

Here are some simulations here:
Sorting Algorithm Animations

I personally like the animation simulations rather than "core dumps" as irfan_s stated.
  • 0

#5 irfan_s

irfan_s

    CC Regular

  • Member
  • PipPipPip
  • 27 posts

Posted 28 August 2011 - 12:55 PM

ty, this is interesting
  • 0





Also tagged with one or more of these keywords: simulation

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download