public abstract class AIssueEvaluation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Value |
firstOfferedValue |
protected Issue |
issue |
Constructor and Description |
---|
AIssueEvaluation(Issue issue)
This constructs the AIssueEvaluation.
|
Modifier and Type | Method and Description |
---|---|
int |
getIssueID()
This returns the ID of the issue we are evaluating.
|
java.lang.String |
getIssueName()
This returns the name of the issue we are evaluating.
|
ISSUETYPE |
getIssueType()
This returns the type of the issue we are evaluating.
|
abstract double |
getNormalizedValueWeight(Value value)
This method specifies that each subclass needs to implement a function that gives us
the normalized weight for the given value.
|
boolean |
isFirstValueOffered()
This method tells us whether a first value has been offered or not.
|
java.lang.String |
toString()
This returns a string representation of the issueEvaluation.
|
void |
updateIssueEvaluation(Value chosenValue)
This method updates the issueEvaluation.
|
public AIssueEvaluation(Issue issue)
issue
- The issue we are evaluating. May not be null.public void updateIssueEvaluation(Value chosenValue)
chosenValue
- The value of the issue we are evaluating that has just been chosen. May not be null.public abstract double getNormalizedValueWeight(Value value)
value
- The value (discrete or non-discrete) of which we want to know the normalized weight.public boolean isFirstValueOffered()
public int getIssueID()
public java.lang.String getIssueName()
public ISSUETYPE getIssueType()
public java.lang.String toString()
toString
in class java.lang.Object