Yee Picture Program

Here is some Java code I wrote to draw Yee Diagrams.

The Distributed Voting code is still somewhat buggy.

To test different methods, in the main method of ScoreYeePicture or RankedYeePicture, change the constructor in the line that instantiates method to a different subclass of RatingMethod or RankedChoiceMethod.


And if you prefer C++ , here’s mine

Does bulk election simulations for utility optimizing, also has a mode for generating Ka Ping Yee style election space diagrams.

1 Like