Skip to content

Micro web application to analyze and compare the 3 main value index searches in a sequence

Notifications You must be signed in to change notification settings

Segfaul/algorand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Algorand

Micro web application to display a graph of the differences of different search algorithms and use for specific tasks.


Project Status

Completed ✓


Functionality

Technologies and Frameworks

  • Python 3.11
  • Django 4.2.1
  • DRF 3.14.0
  • AJAX
  • HTML, CSS, JS
  • SQLite 3

Installation

  1. Clone the repository to the local machine

    git clone https://github.com/Segfaul/algorand.git
  2. Go to the repository directory

    cd algorand
  3. Create and activate a virtual environment

    python -m venv env
    source env/bin/activate
  4. Set project dependencies

    pip install -r requirements.txt
  5. Go to the news_editor directory

    cd algorand
    
  6. Create database migrations and apply them

    python manage.py makemigrations
    python manage.py migrate
  7. Create a Django project superuser (admin)

    python manage.py createsuperuser
  8. Run the project on localhost in the background

    python manage.py runserver &
  9. In case of a problem, the program will stop automatically or you can stop execution using

    ps aux | grep ".py"
    kill PID
  10. Go to the site and enter the previously created data of the superuser (step 7)

    http://127.0.0.1:8000
  11. In the future you can deploy the project on a remote server

    python manage.py runserver 123.123.123.123:8000 &

Additional Information

Interpolation search is better than binary search under ideal conditions (the elements of a given array are uniformly distributed). However, in cases of non-uniform distribution Binary search preserves asymptotics in O(log(n)), while Interpolation loses efficiency up to O(n).


About

Micro web application to analyze and compare the 3 main value index searches in a sequence

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published