Last change
on this file since 256 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:
921 bytes
|
Line | |
---|
1 | package onetomany.etc;
|
---|
2 | //package negotiator.onetomany;
|
---|
3 | //
|
---|
4 | //import java.util.HashMap;
|
---|
5 | //
|
---|
6 | ///**
|
---|
7 | // * @author Faria Nassiri-Mofakham
|
---|
8 | // *
|
---|
9 | // */
|
---|
10 | //public class Preference extends DemandPlan
|
---|
11 | //{
|
---|
12 | //
|
---|
13 | // private Bid desiredBid = new Bid();
|
---|
14 | // private HashMap<Product, Double> weight = new HashMap<Product, Double>();
|
---|
15 | //
|
---|
16 | // Product redProduct = new Product("Red");
|
---|
17 | // Product pinkProduct = new Product("Pink");
|
---|
18 | // Product blueProduct = new Product("Blue");
|
---|
19 | //
|
---|
20 | //
|
---|
21 | //// desiredBid.setQuantity(redProduct,4);
|
---|
22 | //// desiredBid.setQuantity(pinkProduct,4);
|
---|
23 | //// desiredBid.setQuantity(blueProduct,2);
|
---|
24 | ////
|
---|
25 | //// weight.setWeight(redProduct,0.6);
|
---|
26 | //// weight.setWeight(pinkProduct,0.3);
|
---|
27 | //// weight.setWeight(blueProduct,0.1);
|
---|
28 | //
|
---|
29 | //
|
---|
30 | // public Bid getDesiredBid()
|
---|
31 | // {
|
---|
32 | // return desiredBid;
|
---|
33 | // }
|
---|
34 | //
|
---|
35 | //
|
---|
36 | // public HashMap<Product, Double> getWeight()
|
---|
37 | // {
|
---|
38 | // return weight;
|
---|
39 | // }
|
---|
40 | //
|
---|
41 | //}
|
---|
42 | //
|
---|
Note:
See
TracBrowser
for help on using the repository browser.