source: src/main/java/bargainingchips/etc/Preference.java@ 343

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

new packages complete

File size: 927 bytes
RevLine 
[316]1package bargainingchips.etc;
[315]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.