Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
A
active
- Variable in class org.bolson.vote.
NamedIRNR.TallyState
active
- Variable in class org.bolson.vote.
NamedIRV.TallyState
active
- Variable in class org.bolson.vote.
NamedSTV.TallyState
addRanking(int[])
- Method in class org.bolson.vote.
Histogram
addRating(int[])
- Method in class org.bolson.vote.
Histogram
addRating(float[])
- Method in class org.bolson.vote.
Histogram
addRating(double[])
- Method in class org.bolson.vote.
Histogram
Approval
- Class in
org.bolson.vote
Election method based on summation of Yes/No "good enough" votes.
Approval(int)
- Constructor for class org.bolson.vote.
Approval
argv
- Variable in class org.bolson.vote.
VotingSystemFactory
B
barImgUrl
- Variable in class org.bolson.vote.
Histogram
URL to insert in generated Histogram HTML.
barImgUrl
- Variable in class org.bolson.vote.
NamedHistogram
Base64
- Class in
org.bolson
Base64()
- Constructor for class org.bolson.
Base64
Base64OutputStream
- Class in
org.bolson
Base64OutputStream(OutputStream)
- Constructor for class org.bolson.
Base64OutputStream
Base64OutputStream(OutputStream, boolean)
- Constructor for class org.bolson.
Base64OutputStream
Base64OutputStream(Writer)
- Constructor for class org.bolson.
Base64OutputStream
Base64OutputStream(Writer, boolean)
- Constructor for class org.bolson.
Base64OutputStream
Base64Writer
- Class in
org.bolson
Base64Writer(Writer)
- Constructor for class org.bolson.
Base64Writer
Base64Writer(Writer, boolean)
- Constructor for class org.bolson.
Base64Writer
BordaVotingSystem
- Class in
org.bolson.vote
Points-based-on-rank election method.
BordaVotingSystem(int)
- Constructor for class org.bolson.vote.
BordaVotingSystem
bpm
- Variable in class org.bolson.vote.
CondorcetRTB
bucketscale
- Variable in class org.bolson.vote.
NamedHistogram
bucketscale used at display time on bucket labels
Bucklin
- Class in
org.bolson.vote
Bucklin election method.
Bucklin(int)
- Constructor for class org.bolson.vote.
Bucklin
build(int)
- Method in class org.bolson.vote.
VotingSystemFactory
buildAll(VotingSystemFactory[], int)
- Static method in class org.bolson.vote.
VotingSystemFactory
convenience function
buildEnabled(VotingSystemFactory[], int)
- Static method in class org.bolson.vote.
VotingSystemFactory
return array of VotingSystem for which vsl[].onDef is true
buildVSArray(int, boolean[])
- Method in class org.bolson.vote.
ElectionTestServlet
C
checkRatedVote(int[], int, int)
- Method in class org.bolson.vote.
VotingSystem
squash (sum of absolute value of vote) to (max - min)
clear()
- Method in class org.bolson.
SplayMap
clear()
- Method in class org.bolson.vote.
Histogram
CListToNumberArray(String, int, Hashtable)
- Static method in class org.bolson.vote.
vote
comparator()
- Method in class org.bolson.
SplayMap
compare(Object, Object)
- Method in class org.bolson.vote.
NameVotingSystem.ReverseComparator
compareTo(Object)
- Method in class org.bolson.vote.
NamedHistogram.Choice
compareTo(Object)
- Method in class org.bolson.vote.
NameVotingSystem.NameVote
Condorcet
- Class in
org.bolson.vote
Implements the Condorcet method of ranked voting tabulation and beatpath tie resolution.
Condorcet(int)
- Constructor for class org.bolson.vote.
Condorcet
CondorcetRTB
- Class in
org.bolson.vote
Implements the Condorcet method of ranked voting tabulation and beatpath tie resolution based on Ratings, as suggested by James Green-Armytage
CondorcetRTB(int)
- Constructor for class org.bolson.vote.
CondorcetRTB
containsKey(Object)
- Method in class org.bolson.
SplayMap
containsValue(Object)
- Method in class org.bolson.
SplayMap
Coombs
- Class in
org.bolson.vote
Coombs election method.
Coombs(int)
- Constructor for class org.bolson.vote.
Coombs
count
- Variable in class org.bolson.vote.
NamedIRNR.TallyState
count is the number of ballots that include this name
countDefeats(int, int[], int[])
- Static method in class org.bolson.vote.
Condorcet
counts
- Variable in class org.bolson.vote.
NamedHistogram.Choice
counts(String[])
- Method in class org.bolson.vote.
NamedHistogram
counts
- Variable in class org.bolson.vote.
NamedVRR.Count
counts laid out in concentric rings.
D
debug
- Variable in class org.bolson.vote.
VotingSystem
Debug info collecting flag.
decode(char[])
- Static method in class org.bolson.
Base64
decode(char[], short[])
- Static method in class org.bolson.
Base64
decodeHttp(char[])
- Static method in class org.bolson.
Base64
defaultData
- Static variable in class org.bolson.vote.
ElectionTestServlet
defaultMain(String[])
- Method in class org.bolson.vote.
NameVotingSystem
Use this for making simple subclass main() to run a vote of that type.
defaultValueTitle
- Static variable in class org.bolson.vote.
Histogram
defeatCount
- Variable in class org.bolson.vote.
PairwiseRatingDifferentialSummation
denibble(char)
- Static method in class org.bolson.vote.
NameVotingSystem
depercentHexify(String)
- Static method in class org.bolson.vote.
NameVotingSystem
un-escape ASCII string with %xx escapes in it to, converting such sequences to bytes.
desc()
- Method in class org.bolson.vote.
VotingSystemFactory
disableWinners
- Variable in class org.bolson.vote.
NamedHistogram
make getWinners return null
displayTab()
- Method in class org.bolson.vote.
vote
DistributiveVSWrapper
- Class in
org.bolson.vote
Utility class for running several VotingSystem instances at once.
DistributiveVSWrapper(int)
- Constructor for class org.bolson.vote.
DistributiveVSWrapper
doGet(HttpServletRequest, HttpServletResponse)
- Method in class org.bolson.vote.
ElectionTestServlet
doPost(HttpServletRequest, HttpServletResponse)
- Method in class org.bolson.vote.
ElectionTestServlet
doscaleoffset
- Variable in class org.bolson.vote.
NamedHistogram
doscaleoffset used at display time on bucket labels
doubleRotateGreaterLess(SplayMap.SMNode, SplayMap.SMNode, SplayMap.SMNode)
- Static method in class org.bolson.
SplayMap
doubleRotateLeft(SplayMap.SMNode, SplayMap.SMNode, SplayMap.SMNode)
- Static method in class org.bolson.
SplayMap
doubleRotateLessGreater(SplayMap.SMNode, SplayMap.SMNode, SplayMap.SMNode)
- Static method in class org.bolson.
SplayMap
doubleRotateRight(SplayMap.SMNode, SplayMap.SMNode, SplayMap.SMNode)
- Static method in class org.bolson.
SplayMap
doubleToStrLen(double, int)
- Static method in class org.bolson.vote.
INR
dtalley
- Variable in class org.bolson.vote.
CondorcetRTB
dthresh
- Variable in class org.bolson.vote.
Approval
threshold for voteRating(double[])
E
ElectionTestServlet
- Class in
org.bolson.vote
Servlet for creating an "Election Calculator" for theortical elections or for running small elections which data has been collected for.
ElectionTestServlet()
- Constructor for class org.bolson.vote.
ElectionTestServlet
EmptyVotingSystem
- Class in
org.bolson.vote
Empty code for copying before making a new VotingSystem.
EmptyVotingSystem(int)
- Constructor for class org.bolson.vote.
EmptyVotingSystem
In addition to interfaced methods, there shall be a constructor taking the integer number N of choices to be voted on.
enableClassNames
- Static variable in class org.bolson.vote.
voten
enableNames
- Static variable in class org.bolson.vote.
voten
encode(byte[])
- Static method in class org.bolson.
Base64
encode(byte[], char[])
- Static method in class org.bolson.
Base64
encodeHttp(byte[])
- Static method in class org.bolson.
Base64
entrySet()
- Method in class org.bolson.
SplayMap
eq(byte[], byte[])
- Static method in class org.bolson.
HexOutputStream
equals(Object)
- Method in class org.bolson.
SplayMap.SMNode
equals(Object)
- Method in class org.bolson.vote.
NameVotingSystem.NameVote
F
f
- Variable in class org.bolson.vote.
VotingSystemFactory
firstKey()
- Method in class org.bolson.
SplayMap
firstNode()
- Method in class org.bolson.
SplayMap
flush()
- Method in class org.bolson.
Base64OutputStream
note, this will break the base64 stream in a non-concatenateable way
flush()
- Method in class org.bolson.
Base64Writer
note, this will break the base64 stream in a non-concatenateable way
flush()
- Method in class org.bolson.
HexOutputStream
formatChoice(StringBuffer, NamedHistogram.Choice, int, int, double, String[])
- Method in class org.bolson.vote.
NamedHistogram
formatHistRow(StringBuffer, int, int, double)
- Method in class org.bolson.vote.
NamedHistogram
formatHistRow(StringBuffer, int, int, double, String[])
- Method in class org.bolson.vote.
NamedHistogram
fromDesc(String)
- Static method in class org.bolson.vote.
VotingSystemFactory
fromUrlEncoded(String)
- Static method in class org.bolson.vote.
NameVotingSystem
Parse a name=value&name=value url query type string into a NameVote[].
fthresh
- Variable in class org.bolson.vote.
Approval
threshold for voteRating(float[])
G
get(Object)
- Method in class org.bolson.
SplayMap
getChoices()
- Method in class org.bolson.vote.
NamedHistogram
getCount(String)
- Method in class org.bolson.vote.
NamedVRR
getDebug()
- Method in class org.bolson.vote.
NameVotingSystem
If debug, return debugLog.toString(), else null.
getDebugHTML(String[])
- Method in class org.bolson.vote.
INR
getDebugHTML(String[])
- Method in class org.bolson.vote.
IRNR
getDebugHTML(String[])
- Method in class org.bolson.vote.
VotingSystem
Return HTML representation of debug data.
getDebugText(String[])
- Method in class org.bolson.vote.
Condorcet
getDebugText(String[])
- Method in class org.bolson.vote.
IRNRP
getDebugText(String[])
- Method in class org.bolson.vote.
IRV
getDebugText(String[])
- Method in class org.bolson.vote.
RankedPairs
getDebugText(String[])
- Method in class org.bolson.vote.
VotingSystem
Return textual representation of debug data.
getImplNames()
- Static method in class org.bolson.vote.
NameVotingSystem
getIndexedCounts(boolean)
- Method in class org.bolson.vote.
NamedVRR
getIpmlForName(String)
- Static method in class org.bolson.vote.
NameVotingSystem
getKey()
- Method in class org.bolson.
SplayMap.SMNode
getMethodInstance(String)
- Static method in class org.bolson.vote.
voten
getNode(Object)
- Method in class org.bolson.
SplayMap
getNumberOfCandidates()
- Method in class org.bolson.vote.
VotingSystem
accessor to read only variable
getOnOffForReq(HttpServletRequest)
- Method in class org.bolson.vote.
ElectionTestServlet
getScaledDoubleVote(double[], Object, double, boolean[])
- Method in class org.bolson.vote.
IRNRP
getSchwartzSet()
- Method in class org.bolson.vote.
Condorcet
return the set of choices that are only beaten by each other.
getSchwartzSet(int[])
- Method in class org.bolson.vote.
Condorcet
return the set of choices that are only beaten by each other.
getSchwartzSet(int, int[], int[])
- Static method in class org.bolson.vote.
Condorcet
getSchwartzSet(int, int[], int[], StringBuffer)
- Static method in class org.bolson.vote.
Condorcet
getTallyArray(NamedVRR.Count[])
- Static method in class org.bolson.vote.
NamedVRR
build a tally array like Condorcet class uses, easier to use that code with
getValue()
- Method in class org.bolson.
SplayMap.SMNode
getWinners()
- Method in class org.bolson.vote.
Approval
getWinners()
- Method in class org.bolson.vote.
BordaVotingSystem
getWinners()
- Method in class org.bolson.vote.
Bucklin
getWinners()
- Method in class org.bolson.vote.
Condorcet
getWinners()
- Method in class org.bolson.vote.
CondorcetRTB
getWinners()
- Method in class org.bolson.vote.
Coombs
getWinners()
- Method in class org.bolson.vote.
DistributiveVSWrapper
getWinners()
- Method in class org.bolson.vote.
EmptyVotingSystem
Do processing if necessary, return winners.
getWinners(int)
- Method in class org.bolson.vote.
EmptyVotingSystem
Do processing if necessary, return winners.
getWinners()
- Method in class org.bolson.vote.
GradualApproval
Do processing if necessary, return winners.
getWinners(int)
- Method in class org.bolson.vote.
GradualApproval
Do processing if necessary, return winners.
getWinners()
- Method in class org.bolson.vote.
Histogram
getWinners(int)
- Method in class org.bolson.vote.
Histogram
getWinners()
- Method in class org.bolson.vote.
INR
getWinners()
- Method in class org.bolson.vote.
IRNR
getWinners(PrintWriter)
- Method in class org.bolson.vote.
IRNR
getWinners(PrintWriter, int)
- Method in class org.bolson.vote.
IRNR
Multi-seat IRNR.
getWinners()
- Method in class org.bolson.vote.
IRNRP
Do processing if necessary, return winners.
getWinners(int)
- Method in class org.bolson.vote.
IRNRP
Do processing if necessary, return winners.
getWinners()
- Method in class org.bolson.vote.
IRV
getWinners(PrintWriter, int)
- Method in class org.bolson.vote.
IRV
Multi-seat IRV, aka STV.
getWinners()
- Method in class org.bolson.vote.
NamedApproval
getWinners()
- Method in class org.bolson.vote.
NamedHistogram
getWinners()
- Method in class org.bolson.vote.
NamedIRNR
getWinners(StringBuffer)
- Method in class org.bolson.vote.
NamedIRNR
getWinners()
- Method in class org.bolson.vote.
NamedIRV
getWinners()
- Method in class org.bolson.vote.
NamedRaw
getWinners()
- Method in class org.bolson.vote.
NamedSTV
getWinners()
- Method in class org.bolson.vote.
NamedTemplate
getWinners()
- Method in class org.bolson.vote.
NamedVRR
find Condorcet winner with CSSD cycle resolution
getWinners()
- Method in class org.bolson.vote.
NameVotingSystem
getWinners()
- Method in class org.bolson.vote.
PairwiseRatingDifferentialSummation
getWinners()
- Method in class org.bolson.vote.
RankedPairs
getWinners()
- Method in class org.bolson.vote.
RawRating
getWinners()
- Method in class org.bolson.vote.
STV
Do processing if necessary, return winners.
getWinners(int)
- Method in class org.bolson.vote.
STV
Do processing if necessary, return winners.
getWinners()
- Method in class org.bolson.vote.
SynchronizedVSWrapper
getWinners()
- Method in class org.bolson.vote.
VotingSystem
Do processing if necessary, return winners.
getWinners(PrintWriter)
- Method in class org.bolson.vote.
VotingSystem
Deprecated.
use getWinners(), debug, and getDebugText() or getDebugHTML()
getWinners(PrintWriter, int)
- Method in class org.bolson.vote.
VotingSystem
Deprecated.
use getWinners(int), debug, and getDebugText() or getDebugHTML()
getWinners(int)
- Method in class org.bolson.vote.
VotingSystem
Do processing if necessary, return winners.
getWinnersCSSD()
- Method in class org.bolson.vote.
Condorcet
getWinnersCSSD(NamedVRR.Count[], int[])
- Method in class org.bolson.vote.
NamedVRR
getWinnersOldBPM()
- Method in class org.bolson.vote.
Condorcet
getWinnersSchwartzEqOne()
- Method in class org.bolson.vote.
Condorcet
getWinnersSimpleIfOne()
- Method in class org.bolson.vote.
Condorcet
globalHistChoiceFormat
- Static variable in class org.bolson.vote.
NamedHistogram
globalHistRowFormat
- Static variable in class org.bolson.vote.
NamedHistogram
gmiPrefixes
- Static variable in class org.bolson.vote.
voten
GradualApproval
- Class in
org.bolson.vote
Empty code for copying before making a new VotingSystem.
GradualApproval(int)
- Constructor for class org.bolson.vote.
GradualApproval
In addition to interfaced methods, there shall be a constructor taking the integer number N of choices to be voted on.
greater
- Variable in class org.bolson.
SplayMap.SMNode
H
hashCode()
- Method in class org.bolson.
SplayMap.SMNode
hasNext()
- Method in class org.bolson.
SplayMap.SMSIterator
headMap(Object)
- Method in class org.bolson.
SplayMap
HexOutputStream
- Class in
org.bolson
HexOutputStream(OutputStream)
- Constructor for class org.bolson.
HexOutputStream
HexOutputStream(OutputStream, int)
- Constructor for class org.bolson.
HexOutputStream
HexOutputStream(Writer)
- Constructor for class org.bolson.
HexOutputStream
HexOutputStream(Writer, int)
- Constructor for class org.bolson.
HexOutputStream
hexString(byte[])
- Static method in class org.bolson.
HexOutputStream
hexStringB(byte[])
- Static method in class org.bolson.
HexOutputStream
hexString with Breaks, '_' and ' '
HIST_CHOICE_AVERAGE
- Static variable in class org.bolson.vote.
NamedHistogram
HIST_CHOICE_keys
- Static variable in class org.bolson.vote.
NamedHistogram
HIST_CHOICE_LABEL
- Static variable in class org.bolson.vote.
NamedHistogram
HIST_CHOICE_NAME
- Static variable in class org.bolson.vote.
NamedHistogram
HIST_CHOICE_ROWS
- Static variable in class org.bolson.vote.
NamedHistogram
HIST_CHOICE_SUM
- Static variable in class org.bolson.vote.
NamedHistogram
HIST_CHOICE_VOTES
- Static variable in class org.bolson.vote.
NamedHistogram
HIST_ROW_HVAL
- Static variable in class org.bolson.vote.
NamedHistogram
HIST_ROW_keys
- Static variable in class org.bolson.vote.
NamedHistogram
HIST_ROW_SCALED_HVAL
- Static variable in class org.bolson.vote.
NamedHistogram
HIST_ROW_VALUES_LABEL
- Static variable in class org.bolson.vote.
NamedHistogram
Histogram
- Class in
org.bolson.vote
Collects votes and presents HTML histograms.
Histogram(int, int, double, double)
- Constructor for class org.bolson.vote.
Histogram
Histogram(int)
- Constructor for class org.bolson.vote.
Histogram
histRow(StringBuffer, int, int, double)
- Method in class org.bolson.vote.
NamedHistogram
htmlExplain(StringBuffer)
- Method in class org.bolson.vote.
NamedIRNR
htmlExplain(StringBuffer)
- Method in class org.bolson.vote.
NameVotingSystem
Get HTML explaination of how the election worked.
htmlExplain()
- Method in class org.bolson.vote.
NameVotingSystem
Get HTML explaination of how the election worked.
htmlSummary(String[])
- Method in class org.bolson.vote.
Approval
htmlSummary(String[])
- Method in class org.bolson.vote.
BordaVotingSystem
htmlSummary(String[])
- Method in class org.bolson.vote.
Bucklin
htmlSummary(String[])
- Method in class org.bolson.vote.
Condorcet
htmlSummary(String[])
- Method in class org.bolson.vote.
CondorcetRTB
htmlSummary(String[])
- Method in class org.bolson.vote.
Coombs
htmlSummary(String[])
- Method in class org.bolson.vote.
DistributiveVSWrapper
htmlSummary(String[])
- Method in class org.bolson.vote.
EmptyVotingSystem
A fancy html representation.
htmlSummary(String[])
- Method in class org.bolson.vote.
GradualApproval
A fancy html representation.
htmlSummary(String[])
- Method in class org.bolson.vote.
Histogram
htmlSummary(String[])
- Method in class org.bolson.vote.
INR
htmlSummary(String[])
- Method in class org.bolson.vote.
IRNR
htmlSummary(String[])
- Method in class org.bolson.vote.
IRNRP
A fancy html representation.
htmlSummary(String[])
- Method in class org.bolson.vote.
IRV
htmlSummary(StringBuffer)
- Method in class org.bolson.vote.
NamedApproval
htmlSummary(StringBuffer)
- Method in class org.bolson.vote.
NamedHistogram
Makes HTML tables and CSS span bars to show the histogram.
htmlSummary(StringBuffer, NameVotingSystem.NameVote[])
- Method in class org.bolson.vote.
NamedHistogram
Makes HTML tables and CSS span bars to show the histogram.
htmlSummary(StringBuffer, String[])
- Method in class org.bolson.vote.
NamedHistogram
Makes HTML tables and CSS span bars to show the histogram.
htmlSummary(StringBuffer)
- Method in class org.bolson.vote.
NamedIRNR
htmlSummary(StringBuffer)
- Method in class org.bolson.vote.
NamedIRV
htmlSummary(StringBuffer)
- Method in class org.bolson.vote.
NamedRaw
htmlSummary(StringBuffer)
- Method in class org.bolson.vote.
NamedSTV
htmlSummary(StringBuffer)
- Method in class org.bolson.vote.
NamedTemplate
htmlSummary(StringBuffer)
- Method in class org.bolson.vote.
NamedVRR
htmlSummary(StringBuffer)
- Method in class org.bolson.vote.
NameVotingSystem
Get HTML summary of voting system state.
htmlSummary()
- Method in class org.bolson.vote.
NameVotingSystem
Get HTML summary of voting system state.
htmlSummary(String[])
- Method in class org.bolson.vote.
PairwiseRatingDifferentialSummation
htmlSummary(String[])
- Method in class org.bolson.vote.
RawRating
htmlSummary(String[])
- Method in class org.bolson.vote.
STV
A fancy html representation.
htmlSummary(String[])
- Method in class org.bolson.vote.
SynchronizedVSWrapper
htmlSummary(String[])
- Method in class org.bolson.vote.
VotingSystem
A fancy html representation.
htmlTable(StringBuffer, int, int[], String, String[])
- Static method in class org.bolson.vote.
Condorcet
htmlTable(StringBuffer, int, double[], String, String[])
- Static method in class org.bolson.vote.
CondorcetRTB
I
init(String[])
- Method in class org.bolson.vote.
Bucklin
init(String[])
- Method in class org.bolson.vote.
Condorcet
init()
- Method in class org.bolson.vote.
ElectionTestServlet
init(String[])
- Method in class org.bolson.vote.
EmptyVotingSystem
Arguments to modify behavior of EmptyVotingSystem
init(String[])
- Method in class org.bolson.vote.
GradualApproval
Arguments to modify behavior of GradualApproval
init(String[])
- Method in class org.bolson.vote.
Histogram
init(String[])
- Method in class org.bolson.vote.
INR
init(String[])
- Method in class org.bolson.vote.
IRNR
init(String[])
- Method in class org.bolson.vote.
IRNRP
Arguments to modify behavior of IRNRP
init(String[])
- Method in class org.bolson.vote.
IRV
Set what happens when a vote has a duplicate rating (among active choices) -split|-dup|-dq
init(String[])
- Method in class org.bolson.vote.
NamedHistogram
init(String[])
- Method in class org.bolson.vote.
NamedSTV
init(String[])
- Method in class org.bolson.vote.
NamedVRR
init(String[])
- Method in class org.bolson.vote.
NameVotingSystem
Set options for voting system.
init(String[])
- Method in class org.bolson.vote.
STV
Arguments to modify behavior of STV
init(String[])
- Method in class org.bolson.vote.
VotingSystem
Arguments to modify behavior of VotingSystem
initHistogram()
- Method in class org.bolson.vote.
vote
INR
- Class in
org.bolson.vote
Iterated Normalized Ratings I don't know how useful this is.
INR(int)
- Constructor for class org.bolson.vote.
INR
intmode
- Variable in class org.bolson.vote.
NamedHistogram
intoBucket(int[])
- Method in class org.bolson.vote.
IRV
intoBucket(STV.Ballot)
- Method in class org.bolson.vote.
STV
intoBucket(Vector)
- Method in class org.bolson.vote.
STV
intoBucket(Vector, double)
- Method in class org.bolson.vote.
STV
IRNR
- Class in
org.bolson.vote
Instant Runoff Normalized Ratings
IRNR(int)
- Constructor for class org.bolson.vote.
IRNR
IRNRP
- Class in
org.bolson.vote
Instant Runoff Normalized Ratings Proportional
IRNRP(int)
- Constructor for class org.bolson.vote.
IRNRP
In addition to interfaced methods, there shall be a constructor taking the integer number N of choices to be voted on.
IRV
- Class in
org.bolson.vote
Implements the Instant Runoff Voting, also known as Single Transferrable Vote.
IRV(int)
- Constructor for class org.bolson.vote.
IRV
isEmpty()
- Method in class org.bolson.
SplayMap
isValidRankedVote(int[])
- Method in class org.bolson.vote.
VotingSystem
Checks that ranking is valid.
isValidRatedVote(int[], int, int)
- Method in class org.bolson.vote.
VotingSystem
Checks that rating is valid.
iterator()
- Method in class org.bolson.
SplayMap.SMCollection
iterator()
- Method in class org.bolson.
SplayMap.SMKeySet
iterator()
- Method in class org.bolson.
SplayMap.SMNodeSet
ithresh
- Variable in class org.bolson.vote.
Approval
threshold for voteRating(int[])
K
key
- Variable in class org.bolson.
SplayMap.SMNode
keySet()
- Method in class org.bolson.
SplayMap
L
labelname
- Variable in class org.bolson.vote.
NamedHistogram
lastKey()
- Method in class org.bolson.
SplayMap
lastNode()
- Method in class org.bolson.
SplayMap
less
- Variable in class org.bolson.
SplayMap.SMNode
lowfirst
- Variable in class org.bolson.vote.
NamedHistogram
M
main(String[])
- Static method in class org.bolson.
Base64
main(String[])
- Static method in class org.bolson.vote.
NamedHistogram
main(String[])
- Static method in class org.bolson.vote.
NamedSTV
main(String[])
- Static method in class org.bolson.vote.
vote
main(String[])
- Static method in class org.bolson.vote.
voten
main(String[])
- Static method in class org.bolson.vote.
VotingSystemFactory
makeWinners(NamedVRR.Count[], int[])
- Static method in class org.bolson.vote.
NamedVRR
MODE_GTEQ_SPEC
- Static variable in class org.bolson.vote.
voten
MODE_URL
- Static variable in class org.bolson.vote.
voten
MODE_WS_NAMEQ
- Static variable in class org.bolson.vote.
voten
myInit()
- Method in class org.bolson.vote.
IRV
myInit()
- Method in class org.bolson.vote.
STV
N
name()
- Method in class org.bolson.vote.
Approval
name()
- Method in class org.bolson.vote.
BordaVotingSystem
name()
- Method in class org.bolson.vote.
Bucklin
name()
- Method in class org.bolson.vote.
Condorcet
name()
- Method in class org.bolson.vote.
CondorcetRTB
name()
- Method in class org.bolson.vote.
Coombs
name()
- Method in class org.bolson.vote.
EmptyVotingSystem
name()
- Method in class org.bolson.vote.
GradualApproval
name()
- Method in class org.bolson.vote.
INR
name()
- Method in class org.bolson.vote.
IRNR
name()
- Method in class org.bolson.vote.
IRNRP
name()
- Method in class org.bolson.vote.
IRV
name()
- Method in class org.bolson.vote.
NamedApproval
name
- Variable in class org.bolson.vote.
NamedHistogram.Choice
name()
- Method in class org.bolson.vote.
NamedHistogram
name()
- Method in class org.bolson.vote.
NamedIRNR
name
- Variable in class org.bolson.vote.
NamedIRNR.TallyState
name()
- Method in class org.bolson.vote.
NamedIRV
name
- Variable in class org.bolson.vote.
NamedIRV.TallyState
name()
- Method in class org.bolson.vote.
NamedRaw
name()
- Method in class org.bolson.vote.
NamedSTV
name
- Variable in class org.bolson.vote.
NamedSTV.TallyState
name()
- Method in class org.bolson.vote.
NamedTemplate
name()
- Method in class org.bolson.vote.
NamedVRR
name()
- Method in class org.bolson.vote.
NameVotingSystem
name
- Variable in class org.bolson.vote.
NameVotingSystem.NameVote
name()
- Method in class org.bolson.vote.
PairwiseRatingDifferentialSummation
name()
- Method in class org.bolson.vote.
RankedPairs
name()
- Method in class org.bolson.vote.
RawRating
name()
- Method in class org.bolson.vote.
STV
name()
- Method in class org.bolson.vote.
VotingSystem
Return name of this voting system.
name
- Variable in class org.bolson.vote.
VotingSystemFactory
NamedApproval
- Class in
org.bolson.vote
NamedApproval()
- Constructor for class org.bolson.vote.
NamedApproval
NamedHistogram
- Class in
org.bolson.vote
The normal vote interface in this case accumulates the ratings into histograms per name.
NamedHistogram()
- Constructor for class org.bolson.vote.
NamedHistogram
equivalent to NamedHistogram( -10, 10 );
NamedHistogram(int, float, float)
- Constructor for class org.bolson.vote.
NamedHistogram
Constructor creates a histogram with some number of buckets evenly distributed with the min rating and max rating at the limits.
NamedHistogram(int, int)
- Constructor for class org.bolson.vote.
NamedHistogram
Constructor creates a histogram with some number of buckets to contain the possible integer values including minint through maxint.
NamedHistogram.Choice
- Class in
org.bolson.vote
NamedHistogram.Choice(String, int)
- Constructor for class org.bolson.vote.
NamedHistogram.Choice
NamedIRNR
- Class in
org.bolson.vote
Instant Runoff Normalized Ratings
NamedIRNR()
- Constructor for class org.bolson.vote.
NamedIRNR
NamedIRNR.TallyState
- Class in
org.bolson.vote
NamedIRV
- Class in
org.bolson.vote
NamedIRV()
- Constructor for class org.bolson.vote.
NamedIRV
NamedIRV.TallyState
- Class in
org.bolson.vote
NamedIRV.TallyState(String)
- Constructor for class org.bolson.vote.
NamedIRV.TallyState
NamedRaw
- Class in
org.bolson.vote
NamedRaw()
- Constructor for class org.bolson.vote.
NamedRaw
NamedSTV
- Class in
org.bolson.vote
NamedSTV()
- Constructor for class org.bolson.vote.
NamedSTV
NamedSTV.TallyState
- Class in
org.bolson.vote
NamedSTV.TallyState(String)
- Constructor for class org.bolson.vote.
NamedSTV.TallyState
NamedSTV.WeightedVote
- Class in
org.bolson.vote
NamedSTV.WeightedVote(NameVotingSystem.NameVote[])
- Constructor for class org.bolson.vote.
NamedSTV.WeightedVote
NamedTemplate
- Class in
org.bolson.vote
NamedTemplate()
- Constructor for class org.bolson.vote.
NamedTemplate
NamedVRR
- Class in
org.bolson.vote
Virtual Round Robin election (Condorcet).
NamedVRR()
- Constructor for class org.bolson.vote.
NamedVRR
NamedVRR.Count
- Class in
org.bolson.vote
nameEqStrToVoteArray(String, String, boolean)
- Static method in class org.bolson.vote.
NameVotingSystem
Convert Name=Rating pairs in a string to an array of NameVote.
nameEqStrToVoteArray(String)
- Static method in class org.bolson.vote.
NameVotingSystem
Convert Name=Rating pairs in a string to an array of NameVote.
namehashToNameArray(Hashtable)
- Static method in class org.bolson.vote.
vote
namehashToNameArray(Hashtable, int)
- Static method in class org.bolson.vote.
vote
names()
- Method in class org.bolson.vote.
NamedHistogram
NameVotingSystem
- Class in
org.bolson.vote
Taking a bunch of (name,rating) pairs this type of voting system allows for write-ins and perhaps a somewhat simpler usage.
NameVotingSystem()
- Constructor for class org.bolson.vote.
NameVotingSystem
NameVotingSystem.NameVote
- Class in
org.bolson.vote
NameVotingSystem.NameVote(String, float)
- Constructor for class org.bolson.vote.
NameVotingSystem.NameVote
NameVotingSystem.ReverseComparator
- Class in
org.bolson.vote
NameVotingSystem.ReverseComparator()
- Constructor for class org.bolson.vote.
NameVotingSystem.ReverseComparator
next()
- Method in class org.bolson.
SplayMap.SMSIterator
NO_VOTE
- Static variable in class org.bolson.vote.
VotingSystem
This value represents that the voter made no action on some choice.
normalize(double[])
- Static method in class org.bolson.vote.
VotingSystem
Divide values by their average
normalize(double[], double[])
- Static method in class org.bolson.vote.
VotingSystem
Divide values by their average
normalize(float[])
- Static method in class org.bolson.vote.
VotingSystem
Divide values by their average
normalize(float[], float[])
- Static method in class org.bolson.vote.
VotingSystem
normalize(double[], int[])
- Static method in class org.bolson.vote.
VotingSystem
Divide values by their average
normalizeL2(double[])
- Static method in class org.bolson.vote.
VotingSystem
Calculate "L2" norm.
normalizeL2(double[], double[])
- Static method in class org.bolson.vote.
VotingSystem
Calculate "L2" norm.
normalizeL2(float[])
- Static method in class org.bolson.vote.
VotingSystem
Calculate "L2" norm.
normalizeL2(float[], float[])
- Static method in class org.bolson.vote.
VotingSystem
Calculate "L2" norm.
normalizeL2(double[], int[])
- Static method in class org.bolson.vote.
VotingSystem
Calculate "L2" norm.
numArrayToHtmlTable(Object)
- Static method in class org.bolson.vote.
ElectionTestServlet
numc
- Variable in class org.bolson.vote.
VotingSystem
number of candidates
O
offset
- Variable in class org.bolson.vote.
NamedHistogram
offset used at display time on bucket labels
onDef
- Variable in class org.bolson.vote.
VotingSystemFactory
org.bolson
- package org.bolson
org.bolson.vote
- package org.bolson.vote
Provides classes for counting elections and presenting their results.
P
PairwiseRatingDifferentialSummation
- Class in
org.bolson.vote
It's like Condorcet, but based on ratings differentials.
PairwiseRatingDifferentialSummation(int)
- Constructor for class org.bolson.vote.
PairwiseRatingDifferentialSummation
parent
- Variable in class org.bolson.
SplayMap.SMNode
parseFormat(String, String[])
- Static method in class org.bolson.vote.
NamedHistogram
percentHexify(String)
- Static method in class org.bolson.vote.
NameVotingSystem
It's just like return s.replaceAll( "%", "%25" ).replaceAll( "&", "%26" ).replaceAll( "=", "%3d" ); but faster.
primary
- Variable in class org.bolson.vote.
DistributiveVSWrapper
which one of they gets returned for getWinners, toString, htmlSummary.
print(PrintWriter, byte[], int, int)
- Static method in class org.bolson.
HexOutputStream
printOnOffFormPart(PrintWriter, boolean[])
- Method in class org.bolson.vote.
ElectionTestServlet
printPercents
- Variable in class org.bolson.vote.
NamedHistogram
printVote(float[])
- Static method in class org.bolson.vote.
vote
printVote(int[])
- Static method in class org.bolson.vote.
vote
put(Object, Object)
- Method in class org.bolson.
SplayMap
putAll(Map)
- Method in class org.bolson.
SplayMap
Q
quota(int, double, int)
- Static method in class org.bolson.vote.
NamedSTV
quota(int, double, int)
- Static method in class org.bolson.vote.
STV
R
RankedPairs
- Class in
org.bolson.vote
Implements the Ranked Pairs method of ranked voting tabulation.
RankedPairs(int)
- Constructor for class org.bolson.vote.
RankedPairs
RankedPairs.Pair
- Class in
org.bolson.vote
RankedPairs.Pair(int, int, int)
- Constructor for class org.bolson.vote.
RankedPairs.Pair
RankedVotingSystem
- Class in
org.bolson.vote
Interface for any voting system that inputs a voter's rankings of the choices.
RankedVotingSystem(int)
- Constructor for class org.bolson.vote.
RankedVotingSystem
RatedVotingSystem
- Class in
org.bolson.vote
Interface for any voting system that inputs a voter's ratings of the choices.
RatedVotingSystem(int)
- Constructor for class org.bolson.vote.
RatedVotingSystem
rating
- Variable in class org.bolson.vote.
NameVotingSystem.NameVote
ratingFormat
- Static variable in class org.bolson.vote.
NamedIRNR
ratingFormat
- Static variable in class org.bolson.vote.
NamedRaw
RawRating
- Class in
org.bolson.vote
Raw summation of voter's ratings.
RawRating(int)
- Constructor for class org.bolson.vote.
RawRating
readArgv(String[])
- Method in class org.bolson.vote.
vote
readVotes(Reader)
- Method in class org.bolson.vote.
NameVotingSystem
Reads tab separated name=rating vote per line.
recount(NamedSTV.TallyState[], int)
- Method in class org.bolson.vote.
NamedSTV
recountBuckets()
- Method in class org.bolson.vote.
STV
registerImpl(String, Class)
- Static method in class org.bolson.vote.
NameVotingSystem
remove(Object)
- Method in class org.bolson.
SplayMap
remove()
- Method in class org.bolson.
SplayMap.SMSIterator
removeNode(SplayMap.SMNode)
- Method in class org.bolson.
SplayMap
renderChoice(StringBuffer, NamedHistogram.Choice, int, int, double)
- Method in class org.bolson.vote.
NamedHistogram
resetBuckets()
- Method in class org.bolson.vote.
IRV
resetBuckets()
- Method in class org.bolson.vote.
STV
resultsHTMLDisplay(PrintWriter, NameVotingSystem[], boolean, int)
- Static method in class org.bolson.vote.
NameVotingSystem
Print full results.
resultsHTMLDisplay(PrintWriter, VotingSystem[], String[], boolean, int)
- Static method in class org.bolson.vote.
vote
Print full results.
RETURN_KEY
- Static variable in class org.bolson.
SplayMap
RETURN_NODE
- Static variable in class org.bolson.
SplayMap
RETURN_VALUE
- Static variable in class org.bolson.
SplayMap
rotateLeft(SplayMap.SMNode, SplayMap.SMNode)
- Static method in class org.bolson.
SplayMap
a is parent of greater b b to top
rotateRight(SplayMap.SMNode, SplayMap.SMNode)
- Static method in class org.bolson.
SplayMap
a is lesser child of b a to top
S
setAddress(long)
- Method in class org.bolson.
HexOutputStream
setGlobalHistRowFormat(String)
- Static method in class org.bolson.vote.
NamedHistogram
Set default format for histogram rows.
setHtmlMode(boolean)
- Method in class org.bolson.
Base64OutputStream
setHtmlMode(boolean)
- Method in class org.bolson.
Base64Writer
setNames(String[])
- Method in class org.bolson.vote.
vote
setValue(Object)
- Method in class org.bolson.
SplayMap.SMNode
setWidth(int)
- Method in class org.bolson.
HexOutputStream
shortOpt
- Variable in class org.bolson.vote.
VotingSystemFactory
size()
- Method in class org.bolson.
SplayMap
size()
- Method in class org.bolson.
SplayMap.SMCollection
size()
- Method in class org.bolson.
SplayMap.SMKeySet
size()
- Method in class org.bolson.
SplayMap.SMNodeSet
sort(NameVotingSystem.NameVote[])
- Static method in class org.bolson.vote.
NameVotingSystem
SplayMap
- Class in
org.bolson
SplayMap()
- Constructor for class org.bolson.
SplayMap
SplayMap(Comparator)
- Constructor for class org.bolson.
SplayMap
SplayMap.SMCollection
- Class in
org.bolson
SplayMap.SMCollection()
- Constructor for class org.bolson.
SplayMap.SMCollection
SplayMap.SMCollection(int)
- Constructor for class org.bolson.
SplayMap.SMCollection
SplayMap.SMKeySet
- Class in
org.bolson
SplayMap.SMKeySet()
- Constructor for class org.bolson.
SplayMap.SMKeySet
SplayMap.SMNode
- Class in
org.bolson
SplayMap.SMNode(Object, Object)
- Constructor for class org.bolson.
SplayMap.SMNode
SplayMap.SMNodeSet
- Class in
org.bolson
SplayMap.SMNodeSet()
- Constructor for class org.bolson.
SplayMap.SMNodeSet
SplayMap.SMSIterator
- Class in
org.bolson
SplayMap.SMSIterator()
- Constructor for class org.bolson.
SplayMap.SMSIterator
SplayMap.SMSIterator(int)
- Constructor for class org.bolson.
SplayMap.SMSIterator
splayUp(SplayMap.SMNode)
- Method in class org.bolson.
SplayMap
standardVotingSystemList
- Static variable in class org.bolson.vote.
VotingSystemFactory
Suggestion: take a .clone() of this array and set the onDef flags
stretch(double[], float, float)
- Static method in class org.bolson.vote.
VotingSystem
Maximize a vote between bounds.
StringToNumberArray(String, int)
- Static method in class org.bolson.vote.
vote
stripNonDig(String)
- Static method in class org.bolson.vote.
vote
utility to StringToNumberArray and CListToNumberArray
STV
- Class in
org.bolson.vote
Single Transferrable Vote, IRV for multi-seat elections.
STV(int)
- Constructor for class org.bolson.vote.
STV
In addition to interfaced methods, there shall be a constructor taking the integer number N of choices to be voted on.
STV.Ballot
- Class in
org.bolson.vote
STV.Ballot(int[])
- Constructor for class org.bolson.vote.
STV.Ballot
subMap(Object, Object)
- Method in class org.bolson.
SplayMap
sum
- Variable in class org.bolson.vote.
NamedHistogram.Choice
SynchronizedVSWrapper
- Class in
org.bolson.vote
Wrapper that makes all calls synchronized on the subordinate VotingSystem object.
SynchronizedVSWrapper(VotingSystem)
- Constructor for class org.bolson.vote.
SynchronizedVSWrapper
T
tailMap(Object)
- Method in class org.bolson.
SplayMap
talley
- Variable in class org.bolson.vote.
Approval
talley
- Variable in class org.bolson.vote.
BordaVotingSystem
talley
- Variable in class org.bolson.vote.
Condorcet
talley
- Variable in class org.bolson.vote.
CondorcetRTB
talley
- Variable in class org.bolson.vote.
INR
talley
- Variable in class org.bolson.vote.
IRNR
talley
- Variable in class org.bolson.vote.
IRNRP
talley
- Variable in class org.bolson.vote.
PairwiseRatingDifferentialSummation
talley
- Variable in class org.bolson.vote.
RawRating
tally
- Variable in class org.bolson.vote.
NamedIRNR.TallyState
tally
- Variable in class org.bolson.vote.
NamedIRV.TallyState
tally
- Variable in class org.bolson.vote.
NamedSTV.TallyState
they
- Variable in class org.bolson.vote.
DistributiveVSWrapper
add VotingSystem-s to this and they will get all votes.
toString()
- Method in class org.bolson.vote.
Approval
toString(String[])
- Method in class org.bolson.vote.
Approval
toString(String[])
- Method in class org.bolson.vote.
BordaVotingSystem
toString()
- Method in class org.bolson.vote.
BordaVotingSystem
toString(String[])
- Method in class org.bolson.vote.
Bucklin
toString()
- Method in class org.bolson.vote.
Bucklin
toString()
- Method in class org.bolson.vote.
Condorcet
toString(String[])
- Method in class org.bolson.vote.
Condorcet
toString()
- Method in class org.bolson.vote.
CondorcetRTB
toString(String[])
- Method in class org.bolson.vote.
CondorcetRTB
toString(String[])
- Method in class org.bolson.vote.
Coombs
toString()
- Method in class org.bolson.vote.
Coombs
toString(String[])
- Method in class org.bolson.vote.
DistributiveVSWrapper
toString(String[])
- Method in class org.bolson.vote.
EmptyVotingSystem
A more interesting representation.
toString(String[])
- Method in class org.bolson.vote.
GradualApproval
A more interesting representation.
toString()
- Method in class org.bolson.vote.
Histogram
toString(int, String[])
- Method in class org.bolson.vote.
Histogram
toString(String[])
- Method in class org.bolson.vote.
Histogram
toString()
- Method in class org.bolson.vote.
INR
toString(String[])
- Method in class org.bolson.vote.
INR
toString()
- Method in class org.bolson.vote.
IRNR
toString(String[])
- Method in class org.bolson.vote.
IRNR
toString(String[])
- Method in class org.bolson.vote.
IRNRP
A more interesting representation.
toString(String[])
- Method in class org.bolson.vote.
IRV
toString()
- Method in class org.bolson.vote.
IRV
toString()
- Method in class org.bolson.vote.
PairwiseRatingDifferentialSummation
toString(String[])
- Method in class org.bolson.vote.
PairwiseRatingDifferentialSummation
toString()
- Method in class org.bolson.vote.
RawRating
toString(String[])
- Method in class org.bolson.vote.
RawRating
toString(String[])
- Method in class org.bolson.vote.
STV
A more interesting representation.
toString(String[])
- Method in class org.bolson.vote.
SynchronizedVSWrapper
toString(String[])
- Method in class org.bolson.vote.
VotingSystem
A more interesting representation.
toString()
- Method in class org.bolson.vote.
VotingSystemFactory
U
urlEncode(NameVotingSystem.NameVote[])
- Static method in class org.bolson.vote.
NameVotingSystem
url encode a vote
usage
- Static variable in class org.bolson.vote.
voten
useSpan
- Variable in class org.bolson.vote.
Histogram
useSpan
- Variable in class org.bolson.vote.
NamedHistogram
V
value
- Variable in class org.bolson.
SplayMap.SMNode
values()
- Method in class org.bolson.
SplayMap
valueTitle
- Variable in class org.bolson.vote.
Histogram
verifySchwartzSet(int[])
- Method in class org.bolson.vote.
Condorcet
Verify set to have Schwartz Set properties.
verifySchwartzSet(int, int[], int[])
- Static method in class org.bolson.vote.
Condorcet
verifySchwartzSet(int, int[], int[], StringBuffer)
- Static method in class org.bolson.vote.
Condorcet
vote(float)
- Method in class org.bolson.vote.
NamedHistogram.Choice
vote
- Class in
org.bolson.vote
Command line app for processing votes.
vote()
- Constructor for class org.bolson.vote.
vote
voteFloatFromVoteSource(vote.VoteSource)
- Method in class org.bolson.vote.
vote
voteFromTextFile(String)
- Method in class org.bolson.vote.
vote
voteFromVoteSource(vote.VoteSource)
- Method in class org.bolson.vote.
vote
voteFromVoteSourceWithInit(vote.VoteSource)
- Method in class org.bolson.vote.
vote
voteIntFromVoteSource(vote.VoteSource)
- Method in class org.bolson.vote.
vote
voten
- Class in
org.bolson.vote
voten()
- Constructor for class org.bolson.vote.
voten
voteNameEqStr(String)
- Method in class org.bolson.vote.
NameVotingSystem
Vote a tab-separated name=rating string.
voteOne(float[])
- Method in class org.bolson.vote.
vote
voteOne(int[])
- Method in class org.bolson.vote.
vote
voteOrderSpec(String)
- Method in class org.bolson.vote.
NameVotingSystem
Vote an ordering specified by a string.
voteRanking(int[])
- Method in class org.bolson.vote.
Approval
Choices above (ranked less than or equal to) "(numc+1) / 2" are voted as "approved".
voteRanking(int[])
- Method in class org.bolson.vote.
BordaVotingSystem
voteRanking(int[])
- Method in class org.bolson.vote.
Bucklin
voteRanking(int[])
- Method in class org.bolson.vote.
Coombs
voteRanking(int[])
- Method in class org.bolson.vote.
DistributiveVSWrapper
voteRanking(int[])
- Method in class org.bolson.vote.
EmptyVotingSystem
voteRanking(int[])
- Method in class org.bolson.vote.
Histogram
voteRanking(int[])
- Method in class org.bolson.vote.
IRV
voteRanking(int[])
- Method in class org.bolson.vote.
RatedVotingSystem
Convert to Rating and pass to voteRating();
voteRanking(int[])
- Method in class org.bolson.vote.
STV
voteRanking(int[])
- Method in class org.bolson.vote.
SynchronizedVSWrapper
voteRanking(int[])
- Method in class org.bolson.vote.
VotingSystem
voteRating(int[])
- Method in class org.bolson.vote.
Approval
voteRating(float[])
- Method in class org.bolson.vote.
Approval
voteRating(double[])
- Method in class org.bolson.vote.
Approval
voteRating(int[])
- Method in class org.bolson.vote.
Condorcet
voteRating(float[])
- Method in class org.bolson.vote.
Condorcet
voteRating(double[])
- Method in class org.bolson.vote.
Condorcet
voteRating(int[])
- Method in class org.bolson.vote.
CondorcetRTB
voteRating(float[])
- Method in class org.bolson.vote.
CondorcetRTB
voteRating(double[])
- Method in class org.bolson.vote.
CondorcetRTB
voteRating(int[])
- Method in class org.bolson.vote.
DistributiveVSWrapper
voteRating(float[])
- Method in class org.bolson.vote.
DistributiveVSWrapper
voteRating(double[])
- Method in class org.bolson.vote.
DistributiveVSWrapper
voteRating(int[])
- Method in class org.bolson.vote.
EmptyVotingSystem
voteRating(float[])
- Method in class org.bolson.vote.
EmptyVotingSystem
voteRating(double[])
- Method in class org.bolson.vote.
EmptyVotingSystem
voteRating(int[])
- Method in class org.bolson.vote.
GradualApproval
voteRating(float[])
- Method in class org.bolson.vote.
GradualApproval
voteRating(double[])
- Method in class org.bolson.vote.
GradualApproval
voteRating(int[])
- Method in class org.bolson.vote.
Histogram
voteRating(float[])
- Method in class org.bolson.vote.
Histogram
voteRating(double[])
- Method in class org.bolson.vote.
Histogram
voteRating(int[])
- Method in class org.bolson.vote.
INR
voteRating(float[])
- Method in class org.bolson.vote.
INR
voteRating(double[])
- Method in class org.bolson.vote.
INR
voteRating(int[])
- Method in class org.bolson.vote.
IRNR
voteRating(float[])
- Method in class org.bolson.vote.
IRNR
voteRating(double[])
- Method in class org.bolson.vote.
IRNR
voteRating(int[])
- Method in class org.bolson.vote.
IRNRP
voteRating(float[])
- Method in class org.bolson.vote.
IRNRP
voteRating(double[])
- Method in class org.bolson.vote.
IRNRP
voteRating(NameVotingSystem.NameVote[])
- Method in class org.bolson.vote.
NamedApproval
voteRating(NameVotingSystem.NameVote[])
- Method in class org.bolson.vote.
NamedHistogram
The normal vote interface in this case accumulates the ratings into histograms per name.
voteRating(NameVotingSystem.NameVote[])
- Method in class org.bolson.vote.
NamedIRNR
voteRating(NameVotingSystem.NameVote[])
- Method in class org.bolson.vote.
NamedIRV
voteRating(NameVotingSystem.NameVote[])
- Method in class org.bolson.vote.
NamedRaw
voteRating(NameVotingSystem.NameVote[])
- Method in class org.bolson.vote.
NamedSTV
voteRating(NameVotingSystem.NameVote[])
- Method in class org.bolson.vote.
NamedTemplate
voteRating(NameVotingSystem.NameVote[])
- Method in class org.bolson.vote.
NamedVRR
counts the names voted.
voteRating(Map)
- Method in class org.bolson.vote.
NameVotingSystem
Vote a set of ratings.
voteRating(NameVotingSystem.NameVote[])
- Method in class org.bolson.vote.
NameVotingSystem
Vote a set of ratings.
voteRating(int[])
- Method in class org.bolson.vote.
PairwiseRatingDifferentialSummation
voteRating(float[])
- Method in class org.bolson.vote.
PairwiseRatingDifferentialSummation
voteRating(double[])
- Method in class org.bolson.vote.
PairwiseRatingDifferentialSummation
voteRating(int[])
- Method in class org.bolson.vote.
RankedVotingSystem
Converts rating to ranking and passes to voteRanking.
voteRating(float[])
- Method in class org.bolson.vote.
RankedVotingSystem
voteRating(double[])
- Method in class org.bolson.vote.
RankedVotingSystem
voteRating(int[])
- Method in class org.bolson.vote.
RatedVotingSystem
voteRating(double[])
- Method in class org.bolson.vote.
RatedVotingSystem
voteRating(int[])
- Method in class org.bolson.vote.
RawRating
voteRating(float[])
- Method in class org.bolson.vote.
RawRating
voteRating(double[])
- Method in class org.bolson.vote.
RawRating
voteRating(int[])
- Method in class org.bolson.vote.
SynchronizedVSWrapper
voteRating(float[])
- Method in class org.bolson.vote.
SynchronizedVSWrapper
voteRating(double[])
- Method in class org.bolson.vote.
SynchronizedVSWrapper
voteRating(int[])
- Method in class org.bolson.vote.
VotingSystem
voteRating(float[])
- Method in class org.bolson.vote.
VotingSystem
voteRating(double[])
- Method in class org.bolson.vote.
VotingSystem
voteRating(Object)
- Method in class org.bolson.vote.
VotingSystem
voteReader(Reader)
- Method in class org.bolson.vote.
vote
votes
- Variable in class org.bolson.vote.
Bucklin
votes
- Variable in class org.bolson.vote.
Coombs
votes
- Variable in class org.bolson.vote.
IRV
votes
- Variable in class org.bolson.vote.
NamedHistogram.Choice
votes
- Variable in class org.bolson.vote.
NamedIRV.TallyState
votes
- Variable in class org.bolson.vote.
NamedSTV.TallyState
voteSpecToNameVoteArray(String)
- Static method in class org.bolson.vote.
NameVotingSystem
Convert a list of names separated by '>' or '='.
voteStream(InputStream)
- Method in class org.bolson.vote.
vote
voteStream(DataInputStream)
- Method in class org.bolson.vote.
vote
VotingSystem
- Class in
org.bolson.vote
Top level abstract class for ranked or rated voting systems.
VotingSystem(int)
- Constructor for class org.bolson.vote.
VotingSystem
In addition to interfaced methods, there shall be a constructor taking the integer number N of choices to be voted on.
VotingSystemFactory
- Class in
org.bolson.vote
VoteSouce with Options Store configuration for a VoteSource ready to produce one when numc is known.
VotingSystemFactory(Class, String)
- Constructor for class org.bolson.vote.
VotingSystemFactory
VotingSystemFactory(Class, String, boolean)
- Constructor for class org.bolson.vote.
VotingSystemFactory
VotingSystemFactory(Class, String, String)
- Constructor for class org.bolson.vote.
VotingSystemFactory
VotingSystemFactory(Class, String, String, String[])
- Constructor for class org.bolson.vote.
VotingSystemFactory
VotingSystemFactory(Class, String, String[])
- Constructor for class org.bolson.vote.
VotingSystemFactory
VotingSystemFactory(Class, String, String, String[], boolean)
- Constructor for class org.bolson.vote.
VotingSystemFactory
VotingSystemFactory(Class, String, String[], boolean)
- Constructor for class org.bolson.vote.
VotingSystemFactory
VotingSystemFactory(VotingSystem, String)
- Constructor for class org.bolson.vote.
VotingSystemFactory
VotingSystemFactory(VotingSystem, String[], String)
- Constructor for class org.bolson.vote.
VotingSystemFactory
VotingSystemFactory(VotingSystem, String[], String, boolean)
- Constructor for class org.bolson.vote.
VotingSystemFactory
W
winnerBuckets
- Variable in class org.bolson.vote.
IRV
winners
- Variable in class org.bolson.vote.
PairwiseRatingDifferentialSummation
winnerSummaryHTMLTable(PrintWriter, NameVotingSystem[], boolean, int)
- Static method in class org.bolson.vote.
NameVotingSystem
Print summary table.
winnerSummaryHTMLTable(PrintWriter, VotingSystem[], String[], boolean, int)
- Static method in class org.bolson.vote.
vote
Print summary table.
write(int)
- Method in class org.bolson.
Base64OutputStream
write(byte[], int, int)
- Method in class org.bolson.
Base64OutputStream
write(int)
- Method in class org.bolson.
Base64Writer
write(char[], int, int)
- Method in class org.bolson.
Base64Writer
write(int)
- Method in class org.bolson.
HexOutputStream
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes