Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Theme.php on line 329

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Flash.php on line 195

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/controller/Main.php on line 851

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/controller/Main.php on line 851

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/controller/Main.php on line 851

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Theme.php on line 329

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Theme.php on line 329

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Flash.php on line 195

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470
life and times of sha.ddih » Instant Runoff Voting: A bash implementation
Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/controller/Main.php on line 851

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/controller/Main.php on line 851

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/controller/Main.php on line 851

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/controller/Main.php on line 851

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/SQL.php on line 470

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/controller/Main.php on line 851

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/controller/Main.php on line 851

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/controller/Main.php on line 851

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Route.php on line 232

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Sun 3 Oct


Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174
Instant Runoff Voting: A bash implementation


Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

I love shell scripts. If I have something simple to write that a normal person would try to do in a scripting language like Perl or Python, I try to do it with bash. And, as much as possible, I try to avoid using fancy stuff like variables, sed, or awk.

I didn't succeed in the latter goal this time, but I did succeed in implementing Instant Runoff Voting as a bash script. It takes as input a file called irv.txt, which lists each ballot (ranked set of choices) on a separate line as a comma-delimited ordered list.

Here's a sample input file, and here's the script itself. It could be much simpler and probably cleaner, but I tried to make it clear what was going on at each step (and demonstrate the power of piped commands).

· Tags: ,

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Trigger.php on line 174

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/shaddi/sha.ddih.org/includes/class/Config.php on line 112