Giter Site home page Giter Site logo

multiset-madness's Introduction

Multiset-Madness

Implementation of a Multiset ADT (Abstract Data Type) using three different implementations:

- Linkedlist (double)

- Sorted LinkedList (double)

- Binary Search Tree

Analysis

Scenario 1: Additions and Removals

For each implementation (bst, linkedlist, sortedlinkedlist):

  1. Test insertion time (average over 10 results for each test)

    • Test 3-4 values (increasing number of insertions from low to high)

    • For example:

      • java MultisetAnalyser bst 50000 5000 0 0

      • java MultisetAnalyser bst 500000 50000 0 0

      • java MultisetAnalyser bst 5000000 500000 0 0

  2. Test removal time (average over 10 results for each test)

    • Test 3-4 values (increasing number of removals from low to high)

NB: Make sure size of fixed set to number of operations is constant for each test

Analyse:

  1. Compare time taken for each operation between implementations (eg.. Time taken for insertions between bst and linkedlist)

  2. Compare time taken to scale

    • i.e what happens when N is increased. What is the relationship to the time taken, and is this expected?

multiset-madness's People

Contributors

rahoogan avatar rmit-s3572164-farid-farzin avatar

Watchers

 avatar

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.