package agents.qoagent2; import java.util.ArrayList; /***************************************************************** * Class name: UtilityIssue * Goal: This class holds several utility values in an array of utility * values. Each utility issue contains: a name, the side of the * negotiation and an explanation - all saved in strings. ****************************************************************/ public class UtilityIssue { public String sAttributeName; public String sSide; public double dAttributeWeight; public String sExplanation; public ArrayList lstUtilityValues; // list of UtilityValue //the constructor inits the side, attribute name and the explanation //to empty strings, and the utility values array to an empty array. public UtilityIssue() { sSide=""; sAttributeName = ""; dAttributeWeight = 0; sExplanation = ""; lstUtilityValues = new ArrayList(); } }