public class IssueEvaluationList
extends java.lang.Object
Constructor and Description |
---|
IssueEvaluationList(int issueCapacity)
This constructs the IssueEvaluationList.
|
Modifier and Type | Method and Description |
---|---|
void |
addIssueEvaluation(AIssueEvaluation ie)
This method will add the issueEvaluation to the hashmap,
or overwrite it's value if the issueNumber already exists.
|
AIssueEvaluation |
getIssueEvaluation(int issueID)
This method returns the issueEvaluation with the given ID.
|
double |
getNormalizedIssueWeight(int issueID)
This method returns the estimated weight for the issue with the given ID.
|
int |
getSize()
This returns the size of the list.
|
boolean |
isReady() |
java.lang.String |
toString()
This method returns a string representation of the issueEvaluationList.
|
void |
updateIssueEvaluation(int issueID,
Value offeredValue)
This method will receiveMessage a single issueEvaluation.
|
void |
updateIssueWeightMap()
This method will receiveMessage the issueWeightMap.
|
public IssueEvaluationList(int issueCapacity)
public void addIssueEvaluation(AIssueEvaluation ie)
ie
- The issueEvaluation to be added.public void updateIssueEvaluation(int issueID, Value offeredValue)
issueID
- The issueID of the issueEvaluation that should be updated.offeredValue
- The offered value for that issue.public void updateIssueWeightMap()
public AIssueEvaluation getIssueEvaluation(int issueID)
issueID
- The unique ID of the issueEvaluation.public double getNormalizedIssueWeight(int issueID)
issueID
- The issueID of the issue for which we want to know the estimated weight.public int getSize()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isReady()