PHP Developer's Network : Network Member Forums

Class: Calculadora Escons



  Search   All class groups   Latest entries   Top 10 charts   Newsletter   Blog   Forums   Help FAQ  
  Login   Register  
Recommend this page to a friend! Trackback URL: http://www.phpclasses.org/trackback/browse/package/3910.html
      Classes of Manel Zaera  > 
Calculadora Escons
 >  Download  >  Support forum Support forum  >  RSS 1.0 feed RSS 2.0 feed Latest changes  >  Stumble It! Stumble It!  >  Bookmark in del.icio.us Bookmark in del.icio.us  
  Supplied by   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  
  • Supplied by:

  • Picture of Manel Zaera
    Name: Manel Zaera <e-mail contact>
    Published packages: 3
    Country: Spain Spain - PHP jobs in Spain
    Home page: http://manelzaera.blogspot.com/
    Age: 34
    All time rank: 1686
    Week rank: 1059

    Browse this author's classes

  • Innovation Award:

  • PHP Programming Innovation award nominee
    June 2007
    Number 10
    The D'Hondt method is used in many countries to calculate the number of seats assigned to a party, depending on the percentage of votes that they get in elections.

    This class provides an implementation of the D'Hondt method. It can be used by PHP sites that want to show on the Web the partial or final results of elections that take place on countries that use this method of assigning elected seats.

    Manuel Lemos
  • Groups:

  • Group folder image
    Numerical and statistical algorithms
    View top rated classes
  • Detailed description:

  • This class 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.

    The class distributes the available seats using the D'Hondt method and returns an associative arrays that relates each party with the number of assigned seats that they got.

    The code and the comments are in Catalan.
  • User ratings:

  • There are not enough user ratings to display for this class.
  • Applications that use this class:

  • No application links were specified for this class.
    Add link image If you know an application of this package, send a message to the author to add a link here.
  • Files:

  • File Role Description
    Plain text file CalculadoraEscons.php Class
    Class CalculdoraEscons
    Plain text file exemple.php Example
    Sample file
    Plain text file README Doc.
    README
    Download all files: calculadoraescons.tar.gz calculadoraescons.zip
    NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site   Site map   Statistics   Site tips   Privacy policy   Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products