Last change
on this file 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:
632 bytes
|
Line | |
---|
1 | package agents.qoagent;
|
---|
2 |
|
---|
3 | /*****************************************************************
|
---|
4 | * Class name: UtilityValue
|
---|
5 | * Goal: This class holds utility values: the value itself (saved in
|
---|
6 | * a string), the utility and the effect of time (saved in a double).
|
---|
7 | ****************************************************************/
|
---|
8 | public class UtilityValue
|
---|
9 | {
|
---|
10 | public String sValue;
|
---|
11 | public double dUtility;
|
---|
12 | public double dTimeEffect;
|
---|
13 |
|
---|
14 | //the constructor inits the value to an empty string, and the
|
---|
15 | //utility and effect of time to 0.
|
---|
16 | public UtilityValue()
|
---|
17 | {
|
---|
18 | sValue = "";
|
---|
19 | dUtility = 0;
|
---|
20 | dTimeEffect = 0;
|
---|
21 | }
|
---|
22 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.