Last change
on this file since 749 was 519, checked in by wouter, 19 months ago |
#169 added geniusweb sources hard copy in the project as I need to hack it a bit.
|
File size:
598 bytes
|
Line | |
---|
1 |
|
---|
2 | package geniusweb.profile.utilityspace;
|
---|
3 |
|
---|
4 | import java.math.BigDecimal;
|
---|
5 | import java.util.Map;
|
---|
6 |
|
---|
7 | /**
|
---|
8 | * interface to a Utilityspace that is linear-additive.
|
---|
9 | *
|
---|
10 | */
|
---|
11 | public interface LinearAdditive extends UtilitySpace {
|
---|
12 | /**
|
---|
13 | * @return the map from issue names to valuesetutilities (un-weighted)
|
---|
14 | */
|
---|
15 | Map<String, ValueSetUtilities> getUtilities();
|
---|
16 |
|
---|
17 | /**
|
---|
18 | *
|
---|
19 | * @return the map from issue names to weights. weights sum to 1.
|
---|
20 | */
|
---|
21 | Map<String, BigDecimal> getWeights();
|
---|
22 |
|
---|
23 | /**
|
---|
24 | *
|
---|
25 | * @param issue the issue name
|
---|
26 | * @return the weight of the given issue
|
---|
27 | */
|
---|
28 | BigDecimal getWeight(String issue);
|
---|
29 |
|
---|
30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.