source: src/main/java/agents/anac/y2019/fsega2019/fsegaoppmodel/WeightHypothesisScalable.java

Last change on this file was 202, checked in by Katsuhide Fujita, 5 years ago

Add ANAC 2019 agents (3)

  • Property svn:executable set to *
File size: 443 bytes
Line 
1package agents.anac.y2019.fsega2019.fsegaoppmodel;
2
3public class WeightHypothesisScalable extends Hypothesis
4{
5 double fWeight;
6
7 public WeightHypothesisScalable()
8 { }
9
10 public void setWeight( double value)
11 {
12 fWeight = value;
13 }
14
15 public double getWeight()
16 {
17 return fWeight;
18 }
19
20 @Override
21 public String toString()
22 {
23 String lResult = "";
24 lResult = String.format("%1.2f", fWeight) +";";
25 return lResult;
26 }
27}
Note: See TracBrowser for help on using the repository browser.