PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2015-09-29 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 109 This week: 1All time: 8,421 This week: 1,047Up
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: 2 packages by
Country: Cuba Cuba

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:109
This week:1
All time:8,421
This week:1,047Up