PHP Algorithm

PHP Numerical and Statistical algorithms
  1. No Screenshot
    2005 total visits
    Calculadora Escons can be used to calculate the number of seats assigned to a party upon election results using the D'Hondt method. It takes as parameters the number of available seats and an associative array that relates each party with the votes they received.Calculadora Escons distributes the available seats using the D'Hondt method and returns an associative arrays that relates ...
  2. No Screenshot
    1876 total visits
    BWT & MTF encoder can be used to compress and uncompress data using the Burrows-Wheeler transform (BWT) and Move-To-Front (MTF) encoder.These data processing algorithms are commonly used in compression schemes employed by the bzip2 program. Each of these algorithms are implemented in separate classes and do not require any special PHP extensions.Requirements:PHP 4.1.0
  3. No Screenshot
    1427 total visits
    Calc Hondt can be used to calculate the Hondt law coefficients. It takes the number of available seats and the votes each party got. Calc Hondt stores the number of seats each party was assigned in an associative array class variable.
  4. No Screenshot
    1692 total visits
    Porter Stemming Algorithm is a fairly faithful implementation of the Porter stemming algorithm that reduces English words to their stems.There is a deviation in the way compound words are stemmed, such as hyphenated words and words starting with certain prefixes. For instance, "international" should be reduced to "internation" and not "intern," but an unmodified version of the alorithm will do ...
  5. No Screenshot
    2480 total visits
    Random Lib can be used to pick a random item from a collection. It can add to a collection of items that can be values of any type: strings, numbers, objects, etc.. Each item may have a probability weight.Random Lib can pick one or more random items from the collection. When picking multiple items it may allow repetition of the ...
  6. No Screenshot
    1990 total visits
    Enhanced QuickSort implements an enhanced version of the quicksort algorithm to sort an array of comparable values.Enhanced QuickSort uses a cutoff point to switch to an insertion sort when the array size has become too small for quicksort to be useful. It is recommended for use with arrays of 10,000 items or less.Enhanced QuickSort can sort comparable values of type ...
  7. No Screenshot
    2027 total visits
    Anagrams Class is a class to compute the pure anagrams of a given input words or by setting up preset rules. The class can be easlily included into your PHP projects.Anagrams Class ins compatible with all PHP versions.
  8. No Screenshot
    2318 total visits
    guaranix Rank implements the Google page rank algorithm based on the original paper written by Larry Page, Sergey Brin and other at the Stanford university. guaranix Rank keeps track of the pages and the links that they contain in a MySQL database. The script can calculate the page rank of each page based on the links that exist pointing to ...
  9. No Screenshot
    1634 total visits
    TS classes can be used to perform time series analysis aiming at support forecasting activities. TS classes takes a sequence of data (i.e. time series) and calculates several types of values such as mean, variance, standard deviation, etc.. It also implements the algorithm for simple linear regression and for exponential smoothing forecasting. TS classes supports graphics through jgraph library.
  10. No Screenshot
    2175 total visits
    rsMandelbrot can be used to generate Mandelbrot fractal images. It uses coordinate parameters read from a file or from an array.The fractal image size and colors are configurable. The resulting images are stored PNG files in a given server directory.
  11. No Screenshot
    2164 total visits
    Image Nudity Filter can be used to determine whether an image may contain nudity. It analyses the colors used in different sections of an image to determine whether those colors match the human skin color tones.As result of the analysis it returns a score value that reflects the probability of the image to contain nudity. Additionally, it can output a ...
  12. No Screenshot
    1661 total visits
    Math is a simple class that can be used to perform arithmetic operations on sets of numbers passed as arrays. Currently it can only perform addition of all numbers in an array.Math can also format a number using commas and do the opposite, remove commas from formatted numbers.
  13. No Screenshot
    2030 total visits
    k Encoder can be used to encode and decode text using a custom algorithm.It applies the same encoding algorithm to the codes of the characters of a text string. The decoding algorithm reverses the encoding procedure.
  14. No Screenshot
    2194 total visits
    Celko Visitation Model can be use to manipulate hierarchic trees of records stored in a MySQL database using Joe Celko visitation model. It can perform the following tasks in a very effecient way mostly using one SELECT query statement. Features of Celko Visitation Model:- Find out leaf nodes in the current tree (nodes have no children)- Find out nodes of ...
  15. No Screenshot
    1478 total visits
    Synchronization Analysis can be used to compare and extract differences between text documents. It searches for lines, words or other symbols that may have changed to different positions. Then it returns the lists of differences in arrays.
Pages 5 of 8« 1 2 3 4 5 6 7 8 »