Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

fbBinarySearch_Array Class Reference

Inheritance diagram for fbBinarySearch_Array:

Inheritance graph
List of all members.

Detailed Description

Perform a binary search on an array.

The array must already be sorted.

Definition at line 27 of file BinarySearch/Array.php.

Public Member Functions

 search ($needle, $haystack, $sort_flag=null, $compare_function=null)

Member Function Documentation

fbBinarySearch_Array::search needle,
sort_flag = null,
compare_function = null

add $fuzzy parameter

Reimplemented from fbBinarySearch.

Definition at line 32 of file BinarySearch/Array.php.

References fbDebug::dump(), and fbDebug::log().

The documentation for this class was generated from the following file:
Generated on Fri Mar 19 12:52:30 2004 for Freebeer by doxygen 1.3.6-20040222