public class UniformWeightedVote extends AbstractErrorWeightedVote
Constructor and Description |
---|
UniformWeightedVote() |
UniformWeightedVote(AbstractErrorWeightedVote aewv) |
Modifier and Type | Method and Description |
---|---|
double[] |
computeWeightedVote()
Computes the weighted vote.
|
UniformWeightedVote |
getACopy() |
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
addVote, getNumberVotes, getWeightedError, getWeights
copy, copy, measureByteSize, measureByteSize, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public UniformWeightedVote()
public UniformWeightedVote(AbstractErrorWeightedVote aewv)
public double[] computeWeightedVote()
ErrorWeightedVote
computeWeightedVote
in interface ErrorWeightedVote
computeWeightedVote
in class AbstractErrorWeightedVote
public void getDescription(StringBuilder sb, int indent)
MOAObject
AbstractMOAObject.toString
to give a string
representation of the object.sb
- the stringbuilder to add the descriptionindent
- the number of characters to indentpublic UniformWeightedVote getACopy()
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.