source: java2python/geniuswebtranslator/geniuswebsrc/geniusweb/profile/utilityspace/LinearAdditive.java@ 874

Last change on this file since 874 was 825, checked in by wouter, 7 months ago

#291 move annotation to above the javadoc

File size: 724 bytes
Line 
1
2package geniusweb.profile.utilityspace;
3
4import java.math.BigDecimal;
5import java.util.Map;
6
7import org.eclipse.jdt.annotation.NonNull;
8
9/**
10 * interface to a Utilityspace that is linear-additive.
11 *
12 */
13public interface LinearAdditive extends UtilitySpace {
14 @NonNull
15 /**
16 * @return the map from issue names to valuesetutilities (un-weighted)
17 */
18
19 Map<@NonNull String, @NonNull ValueSetUtilities> getUtilities();
20
21 @NonNull
22 /**
23 *
24 * @return the map from issue names to weights. weights sum to 1.
25 */
26 Map<@NonNull String, @NonNull BigDecimal> getWeights();
27
28 @NonNull
29 /**
30 *
31 * @param issue the issue name
32 * @return the weight of the given issue
33 */
34 BigDecimal getWeight(final @NonNull String issue);
35
36}
Note: See TracBrowser for help on using the repository browser.