source: src/main/java/negotiator/boaframework/offeringstrategy/anac2010/IAMhaggler2010/WeightHypothesis.java

Last change on this file was 1, checked in by Wouter Pasman, 6 years ago

Initial import : Genius 9.0.0

File size: 389 bytes
Line 
1package negotiator.boaframework.offeringstrategy.anac2010.IAMhaggler2010;
2/**
3 * @author Colin Williams
4 *
5 */
6public class WeightHypothesis extends Hypothesis {
7
8 double weight;
9
10 public void setWeight(double weight) {
11 this.weight = weight;
12 }
13
14 public double getWeight() {
15 return this.weight;
16 }
17
18 public String toString() {
19 return String.format("%1.2f", this.weight) + ";";
20 }
21}
Note: See TracBrowser for help on using the repository browser.