Last change
on this file since 268 was 268, checked in by Tim Baarslag, 5 years ago |
Bargaining Chips packages cleanup
|
File size:
1.1 KB
|
Line | |
---|
1 | package onetomany.bargainingchipsgame.players.utilityfunction;
|
---|
2 |
|
---|
3 | import onetomany.bargainingchipsgame.Bundle;
|
---|
4 |
|
---|
5 | /**
|
---|
6 | *
|
---|
7 | * This package is devoted to the Utility Function interface and all the classes for different definitions of utility functions.
|
---|
8 | * Utility function is employed by each agent, either coordinator or negotiator, to evaluate an offer, the bundle.
|
---|
9 | * A few of these functions which evaluates a bundle as 1.0 or 0.0 according to satisfaction of one or few simple conditions.
|
---|
10 | * A few others, more general, could represent more flexible conditions, e.g., weighted average, or so, which are not as simple as those in single item cases.
|
---|
11 | *
|
---|
12 | * A few simple 0-1 utility functions:
|
---|
13 | * UF_IWant3Red, UF_IWantColorAndQuantity, UF_Nice, UF_Silly, UF_AllOrNothing, UF_75pQtyOrNothing, UF_prcntQTYandprcntPrice, UF_FreeDisposal, ...
|
---|
14 | *
|
---|
15 | * A few middle complexities utility functions:
|
---|
16 | *
|
---|
17 | *
|
---|
18 | * A few complex utility functions:
|
---|
19 | *
|
---|
20 | *
|
---|
21 | *
|
---|
22 | * @author Faria Nassiri-Mofakham
|
---|
23 | *
|
---|
24 | */
|
---|
25 | public interface UtilityFunction
|
---|
26 | {
|
---|
27 | public Double getUtility(Bundle b);
|
---|
28 | }
|
---|
29 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.