source: src/main/java/agents/qoagent/UtilityIssue.java@ 127

Last change on this file since 127 was 127, checked in by Wouter Pasman, 6 years ago

#41 ROLL BACK of rev.126 . So this version is equal to rev. 125

File size: 960 bytes
RevLine 
[127]1package agents.qoagent;
2
3import java.util.ArrayList;
4
5/*****************************************************************
6 * Class name: UtilityIssue
7 * Goal: This class holds several utility values in an array of utility
8 * values. Each utility issue contains: a name, the side of the
9 * negotiation and an explanation - all saved in strings.
10 ****************************************************************/
11public class UtilityIssue
12{
13 public String sAttributeName;
14 public String sSide;
15 public double dAttributeWeight;
16 public String sExplanation;
17 public ArrayList<UtilityValue> lstUtilityValues; // list of UtilityValue
18
19 //the constructor inits the side, attribute name and the explanation
20 //to empty strings, and the utility values array to an empty array.
21 public UtilityIssue()
22 {
23 sSide="";
24 sAttributeName = "";
25 dAttributeWeight = 0;
26 sExplanation = "";
27 lstUtilityValues = new ArrayList<UtilityValue>();
28 }
[1]29}
Note: See TracBrowser for help on using the repository browser.