votingSystem
Class MultipleBinaryVotes
java.lang.Object
votingSystem.MultipleBinaryVotes
- All Implemented Interfaces:
- java.io.Serializable
- public class MultipleBinaryVotes
- extends java.lang.Object
- implements java.io.Serializable
This class implements the data structure for holding a MultipleBinaryVote 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 |
MultipleBinaryVotes(BinaryVote[] 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()
|
BinaryVote[] |
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 |
MultipleBinaryVotes
public MultipleBinaryVotes(BinaryVote[] 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)
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 BinaryVote[] 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()