source: profile/src/main/java/geniusweb/profile/utilityspace/LinearAdditive.java

Last change on this file was 52, checked in by ruud, 14 months ago

Fixed small issues in domaineditor.

File size: 598 bytes
Line 
1
2package geniusweb.profile.utilityspace;
3
4import java.math.BigDecimal;
5import java.util.Map;
6
7/**
8 * interface to a Utilityspace that is linear-additive.
9 *
10 */
11public 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.