votingSystem
Class MultipleVotes

java.lang.Object
  extended byvotingSystem.MultipleVotes
All Implemented Interfaces:
java.io.Serializable

public class MultipleVotes
extends java.lang.Object
implements java.io.Serializable

This class implements the data structure for holding a MultipleVote used in k-out-of-L elections as well as the proofs needed to prove correctness of the vote. More details of the proofs used can be found in the thesis.

Author:
Bent K. Onshus
See Also:
Serialized Form

Constructor Summary
MultipleVotes(Vote[] votes, java.math.BigInteger[][] ea, java.math.BigInteger[][] eb, java.math.BigInteger[][] ec, java.math.BigInteger[][] ed, java.math.BigInteger[][] edb, java.math.BigInteger[][] e, java.math.BigInteger[][] f, java.math.BigInteger[][] z1, java.math.BigInteger[][] z2, int id)
           
 
Method Summary
 java.math.BigInteger[][] getE()
           
 java.math.BigInteger[][] getEa()
           
 java.math.BigInteger[][] getEb()
           
 java.math.BigInteger[][] getEc()
           
 java.math.BigInteger[][] getEd()
           
 java.math.BigInteger[][] getEdb()
           
 java.math.BigInteger[][] getF()
           
 int getId()
           
 Vote[] getVotes()
           
 java.math.BigInteger[][] getZ1()
           
 java.math.BigInteger[][] getZ2()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipleVotes

public MultipleVotes(Vote[] votes,
                     java.math.BigInteger[][] ea,
                     java.math.BigInteger[][] eb,
                     java.math.BigInteger[][] ec,
                     java.math.BigInteger[][] ed,
                     java.math.BigInteger[][] edb,
                     java.math.BigInteger[][] e,
                     java.math.BigInteger[][] f,
                     java.math.BigInteger[][] z1,
                     java.math.BigInteger[][] z2,
                     int id)
Method Detail

getE

public java.math.BigInteger[][] getE()

getEa

public java.math.BigInteger[][] getEa()

getEb

public java.math.BigInteger[][] getEb()

getEc

public java.math.BigInteger[][] getEc()

getF

public java.math.BigInteger[][] getF()

getVotes

public Vote[] getVotes()

getZ1

public java.math.BigInteger[][] getZ1()

getZ2

public java.math.BigInteger[][] getZ2()

getId

public int getId()

getEd

public java.math.BigInteger[][] getEd()

getEdb

public java.math.BigInteger[][] getEdb()