Code Monkey home page Code Monkey logo

csc335-project2's Introduction

CSC335-Project2

Project 2 for Computer Algorithms. Use this testing code to help with your paper!

How to use the program

  1. Run the program from the command line
  2. Type one capital letter to select a sorting algorithm.
  3. Enter the lower bound of N. The program will increment N and run the sorting algorithm through a range of list sizes.
  4. Enter the upper bound of N.
  5. Enter the number of iterations. The program will reset N to the lower bound at the start of each iteration.
  6. Type Y or N to decide whether to print the lists. If lists aren't printed, CSV is printed to the console for use in a spreadsheet.

How to make your graph in excel

  1. Copy Data. Use the left mouse button to select the N and time values, then right click to copy. image
  2. Paste Data into Excel. Pick a cell and paste the data in. The time data still needs to be moved one cell to the right.
  3. Make sure all the data is selected like so. image
  4. Select the Data tab on top and click "Text to Columns". In the dialog box, click next, make sure only comma is checked under delimiters, and click finish. The data will enter the cells the way they should. image
  5. Select just the microsecond values in your table, then insert a 2D line graph. image

I hope this program helps with the experiments for your papers. Good luck!

The tutor is useless!

csc335-project2's People

Stargazers

 avatar

Watchers

Riley Knybel avatar

csc335-project2's Issues

Better method for Monte Carlo sort

The better method does not function like it's supposed to. Need to find the number of inversions, not randomly sample pairs of elements.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.