PHP Classes

PHP Data Structure and Algorithms: Create and search data structures objects

Recommend this page to a friend!

  Author Author  
Picture of Ogbemudia Osayawe
Name: Ogbemudia Osayawe <contact>
Classes: 7 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 4x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This package can create and search data structures objects.

It provides several classes that can store data structure information and can perform several types of algorithms that can

Currently, it provides classes that implement:

- Binary search of nodes with values linked in a tree structure

- Breadth-first search for a graph of nodes with data values with links between each other

- Manipulating and searching linked lists of nodes with the specific values

Details

Build Status License: MIT

Data Structure and Algorithms PHP

Build the image

docker image build --tag terdia07/php-7.4 .

Run th container

docker container run -d --name dsa --publish 80:80 --mount type=bind,source="$(pwd)",target=/var/www/html terdia07/php-7.4

Enter the container

docker exec -it dsa bash

Install phpunit and setup autoloading by running:

cd /var/www/html && composer install

Run test:

./vendor/bin/phpunit tests --testdox

Visit: http://localhost





  Classes of Ogbemudia Osayawe  >  PHP Data Structure and Algorithms  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Data Structure and Algorithms
Base name: datastructureandalgo
Description: Create and search data structures objects
Version: 1.0.0
PHP version: 5
License: MIT/X Consortium License
 
  Groups   Applications   Files Files  

  Groups  
Group folder image Algorithms Numerical and statistical algorithms View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Searching Search engines, crawling and indexing View top rated classes


  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder image.github (1 directory)
Files folder imagedocker (4 files)
Files folder imagesrc (3 directories)
Files folder imagetests (3 directories)
Accessible without login Plain text file bfs.php Example Example script
Accessible without login Plain text file bst.php Example Example script
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file data.json Data Auxiliary data
Accessible without login Plain text file Dockerfile Data Auxiliary data
Accessible without login Plain text file index.php Aux. Auxiliary script
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  .github  
File Role Description
Files folder imageworkflows (1 file)

  Files folder image Files  /  .github  /  workflows  
File Role Description
  Accessible without login Plain text file ci.yml Data Auxiliary data

  Files folder image Files  /  docker  
File Role Description
  Accessible without login Plain text file default Data Auxiliary data
  Accessible without login Plain text file init.sh Data Auxiliary data
  Accessible without login Plain text file php-fpm.conf Data Auxiliary data
  Accessible without login Plain text file supervisord.conf Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageBinarySearchTree (2 files)
Files folder imageBreadthFirstSearch (6 files)
Files folder imageLinkedList (2 files)

  Files folder image Files  /  src  /  BinarySearchTree  
File Role Description
  Plain text file BstNode.php Class Class source
  Plain text file BsTree.php Class Class source

  Files folder image Files  /  src  /  BreadthFirstSearch  
File Role Description
  Plain text file BfsNode.php Class Class source
  Plain text file BreadthFirstSearch.php Class Class source
  Plain text file BreadthFirstSearchResult.php Class Class source
  Plain text file Graph.php Class Class source
  Plain text file GraphFactory.php Class Class source
  Plain text file GraphFactoryInterface.php Class Class source

  Files folder image Files  /  src  /  LinkedList  
File Role Description
  Plain text file LinkedList.php Class Class source
  Plain text file ListNode.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageBinarySearchTree (1 file)
Files folder imageBreadthFirstSearch (1 file)
Files folder imageLinkedList (1 file)

  Files folder image Files  /  tests  /  BinarySearchTree  
File Role Description
  Plain text file BsTreeTest.php Class Class source

  Files folder image Files  /  tests  /  BreadthFirstSearch  
File Role Description
  Plain text file BreadthFirstSearchTest.php Class Class source

  Files folder image Files  /  tests  /  LinkedList  
File Role Description
  Plain text file LinkedListTest.php Class Class source

Install with Composer Install with Composer - Download Download all files: datastructureandalgo.tar.gz datastructureandalgo.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
For more information send a message to info at phpclasses dot org.