source: src/main/java/bargainingchips/utilityfunctions/UtilityFunction.java@ 326

Last change on this file since 326 was 316, checked in by Tim Baarslag, 5 years ago

new packages complete

File size: 1.1 KB
Line 
1package bargainingchips.utilityfunctions;
2
3import bargainingchips.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 evaluate 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_Crazy, UF_AllOrNothing, UF_75pQtyOrNothing, UF_prcntQTYandprcntPrice, UF_FreeDisposal, ...
14 *
15 * A few middle complexity utility functions: UF_SimpleAdditive, UF_Peaked, ...
16 *
17 * A few complex utility functions:
18 *
19 *
20 *
21 * @author Faria Nassiri-Mofakham
22 *
23 */
24public interface UtilityFunction
25{
26 public Double getUtility(Bundle b);
27}
28
Note: See TracBrowser for help on using the repository browser.