Voting Utilities

Java, C, C++ and perl source code implementing election methods including Borda, Condorcet, Raw Rated, Approval and Instant Runoff voting.

I've moved hosting to code.google.com, go here:
Voting Software on Google Code

DocumentationJavaCC++perl
Virtual Round Robin (Condorcet)JavaCC++perl
Instant Runoff Normalized Ratings (IRNR)JavaCC++perl
Instant Runoff Voting (IRV)JavaCC++perl
Raw Rating SummationJavaCC++
Single Transferrable Vote (STV)JavaC
Histogram (for data display)JavaCC++perl

The Java library is currently most tested because I have been using it to develop the Servlet based Election Calculator and BetterPolls.com.

Each implementation includes a command line utility for processing url query formatted vote data.

All sources copyright Brian Olson. Free for non-commercial use. Licence for other use negotiable.


See also this comprehensive python single transferrable vote (STV) implementation.


Brian's voting theory and simulations page
Email me.