source: src/main/java/onetomany/bargainingchipsgame/players/utilityfunction/UF_Nice.java@ 262

Last change on this file since 262 was 253, checked in by Faria Nassiri Mofakham, 5 years ago

Commit #1 of:
+ negotiator.onetomany package refactored into onetomany package.
+ info created for all contained the packages.
+ current work defined under onetomany.bargainingchipsgame.
+ in this package, onetomany.bargainingchipsgame.players package includes packages for utility function, coordinator, negotiatior, and buyer and seller.
+ negotiator.onetomany package now contains nothing, can be deleted.
+ Interaction thread

File size: 558 bytes
Line 
1/**
2 * UtilityFunctionEverythingOK
3 */
4package onetomany.bargainingchipsgame.players.utilityfunction;
5
6import onetomany.bargainingchipsgame.Bundle;
7
8/**
9 * This happy utility function is Okay with any bundle, evaluates everything as 1.0
10 *
11 *
12 * @author Faria Nassiri-Mofakham
13 *
14 */
15public class UF_Nice implements Utility_Function {
16
17 @Override
18 public Double getUtility(Bundle b) {
19 // TODO Auto-generated method stub
20 return 1.0;
21 }
22
23 @Override
24 public String toString()
25 {
26 return this.getClass().getSimpleName();
27 }
28}
Note: See TracBrowser for help on using the repository browser.