PHP Classes

PHP Array Binary Search: Search, sort, get the average, unique array values

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 131 This week: 1All time: 9,328 This week: 560Up
Version License PHP version Categories
array-binary-search 1.0MIT/X Consortium ...5.5.12Algorithms, PHP 5, Data types
Description 

Author

This class class search, sort, get the average, shuffle, and unique array values.

The class takes a sorted array and uses binary search to find a given needle value restricting the search between given start and last index values.

The search may take an optional callback function that can perform given conversion of array values for comparison purposes during search.

The class can also sort the array, shuffle the array values, get the average of the values and get the unique list of values using callback functions to convert the values.

Picture of Felix Ivan Romero Rodríguez
  Performance   Level  
Name: Felix Ivan Romero ... <contact>
Classes: 3 packages by
Country: Cuba Cuba
Age: 36
All time rank: 31489 in Cuba Cuba
Week rank: 411 Up1 in Cuba Cuba Up

Details

ArraySearch

Class for Array Custom Searching


  Files folder image Files  
File Role Description
Plain text file ArrayCustomSearch.php Class Class source
Accessible without login Plain text file LICENSE Lic. Auxiliary data
Accessible without login Plain text file README.md Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:131
This week:1
All time:9,328
This week:560Up