Jump to content

Simulation

- - - - -

  • Please log in to reply
4 replies to this topic

#1
rapidcybey

rapidcybey

    Newbie

  • Members
  • Pip
  • 8 posts
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. :)

#2
farrell2k

farrell2k

    Learning Programmer

  • Members
  • PipPipPip
  • 60 posts
Google java bubble sort, insertion sort, etc. There are many code examples.

#3
irfan_s

irfan_s

    Newbie

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

#4
lethalwire

lethalwire

    while(false){ ... }

  • Members
  • PipPipPipPipPipPipPip
  • 748 posts
  • Programming Language:Java, PHP
  • Learning:Java, PHP
Here are some simulations here:
Sorting Algorithm Animations

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

#5
irfan_s

irfan_s

    Newbie

  • Members
  • PipPip
  • 25 posts
ty, this is interesting




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users