Serialized Form
Class org.bolson.DebugHttpServlet extends javax.servlet.http.HttpServlet implements Serializable |
cmp
java.util.Comparator<T> cmp
root
SplayMap.SMNode root
numKeys
int numKeys
modificationSerial
int modificationSerial
key
java.lang.Object key
value
java.lang.Object value
less
SplayMap.SMNode less
greater
SplayMap.SMNode greater
parent
SplayMap.SMNode parent
ithresh
int ithresh
- threshold for voteRating(int[])
fthresh
float fthresh
- threshold for voteRating(float[])
dthresh
double dthresh
- threshold for voteRating(double[])
voteOverMeanRating
boolean voteOverMeanRating
- If true then determine thresholds dynamically based on the mean rating for a specific ballot.
NO_VOTE/NaN values in the rating are not counted toward the mean.
talley
int[] talley
talley
int[] talley
equalUnrankDistrib
boolean equalUnrankDistrib
votes
java.util.Vector<E> votes
talley
double[] talley
rankRound
int rankRound
equalUnrankDistrib
boolean equalUnrankDistrib
winners
int[] winners
- if not null, then contains valid winners. set to null when adding a vote
talley
int[] talley
usedBPM
boolean usedBPM
bpm
int[] bpm
winners
int[] winners
defeatCount
int[] defeatCount
debugsb
java.lang.StringBuffer debugsb
defeatCountDebugClone
int[] defeatCountDebugClone
noVoteIsMinPref
boolean noVoteIsMinPref
noVoteIsAvgPref
boolean noVoteIsAvgPref
noVoteIsNoPref
boolean noVoteIsNoPref
winningVotes
boolean winningVotes
margins
boolean margins
addToBothOnTie
boolean addToBothOnTie
talley
int[] talley
dtalley
double[] dtalley
bpm
double[] bpm
message
java.lang.String message
winners
int[] winners
votes
java.util.Vector<E> votes
talley
double[] talley
lastTalley
double[] lastTalley
active
boolean[] active
rankRound
int rankRound
equalUnrankDistrib
boolean equalUnrankDistrib
winners
int[] winners
- if not null, then contains valid winners. set to null when adding a vote
they
java.util.Vector<E> they
- add VotingSystem-s to this and they will get all votes.
primary
int primary
- which one of they gets returned for getWinners, toString, htmlSummary.
default to zero.
it would probably be better if you kept track of the VotingSystem-s going into
this and got results from them separately.
votingSystemOptions
VotingSystemFactory[] votingSystemOptions
votes
java.util.Vector<E> votes
winners
int[] winners
outerTableCols
int outerTableCols
b
int[] b
- histogram buckets b[numc][blen]
blen
int blen
- bucket length per choice
l
double l
- value of low bucket
h
double h
- value of high bucket
totals
int[] totals
- sum of b[numc][blen] -> totals[numc]
maxbucket
int maxbucket
maxtotal
int maxtotal
numvotes
int numvotes
barImgUrl
java.lang.String barImgUrl
- URL to insert in generated Histogram HTML. Defaults to relative URL "b.png" .
useSpan
boolean useSpan
valueTitle
java.lang.String valueTitle
MAX_WIDTH
int MAX_WIDTH
MAXIMIZE_WIDTH
boolean MAXIMIZE_WIDTH
votes
java.util.Vector<E> votes
voterToTrack
int voterToTrack
showIntermedite
boolean showIntermedite
winners
int[] winners
rmsnorm
boolean rmsnorm
inactiveThreshold
double inactiveThreshold
stepSize
double stepSize
debugSteps
java.util.Vector<E> debugSteps
talley
double[] talley
votes
java.util.Vector<E> votes
voterToTrack
int voterToTrack
showIntermedite
boolean showIntermedite
winners
int[] winners
rmsnorm
boolean rmsnorm
debugHistory
java.util.Vector<E> debugHistory
talley
double[] talley
votes
java.util.Vector<E> votes
voterToTrack
int voterToTrack
showIntermedite
boolean showIntermedite
winners
int[] winners
rmsnorm
boolean rmsnorm
bolsonQuota
boolean bolsonQuota
talley
double[] talley
doneIndecies
int[] doneIndecies
debugsb
java.lang.StringBuffer debugsb
disqualifyTiedVotes
boolean disqualifyTiedVotes
duplicateTiedVotes
boolean duplicateTiedVotes
splitTiedVotes
boolean splitTiedVotes
winners
int[] winners
- if not null, then contains valid winners. set to null when adding a vote
dbtext
java.lang.StringBuffer dbtext
dbTextSave
java.lang.String dbTextSave
votes
java.util.Vector<E> votes
winnerBuckets
java.util.Vector<E>[] winnerBuckets
talley
double[] talley
active
boolean[] active
totalVotes
int totalVotes
numWinners
int numWinners
choiceIndecies
int[] choiceIndecies
talley
double[] talley
defeatCount
int[] defeatCount
winners
int[] winners
message
java.lang.String message
noVoteImpliesNoPreference
boolean noVoteImpliesNoPreference
normalize
boolean normalize
normalizeL2
boolean normalizeL2
stretch
boolean stretch
talley
double[] talley
winners
int[] winners
- if not null, then contains valid winners. set to null when adding a vote
winnerBuckets
java.util.Vector<E>[] winnerBuckets
talley
double[] talley
active
boolean[] active
totalVotes
int totalVotes
debugsb
java.lang.StringBuffer debugsb
choiceIndecies
int[] choiceIndecies
disqualifyTiedVotes
boolean disqualifyTiedVotes
duplicateTiedVotes
boolean duplicateTiedVotes
splitTiedVotes
boolean splitTiedVotes
quotaStyle
int quotaStyle
wrapped
VotingSystem wrapped
numc
int numc
- number of candidates
debug
boolean debug
- Debug info collecting flag.
If true, then an implementation should collect data that can be retreived by getDebugText() and getDebugHTML()
- See Also:
VotingSystem.getDebugText(String[])
,
VotingSystem.getDebugHTML(String[])