source: src/main/java/genius/gui/tree/UncertaintySettingsPanel.java

Last change on this file was 242, checked in by Adel Magra, 5 years ago

Updated user guide with information about the User class (sections 1.2, 4.2-3).

File size: 1.1 KB
RevLine 
[83]1package genius.gui.tree;
2
3import genius.gui.panels.CheckboxPanel;
[227]4import genius.gui.panels.DoublePanel;
[89]5import genius.gui.panels.SliderPanel;
[83]6import genius.gui.panels.VflowPanelWithBorder;
7
8@SuppressWarnings("serial")
9public class UncertaintySettingsPanel extends VflowPanelWithBorder {
10 public UncertaintySettingsPanel(UncertaintySettingsModel model) {
11 super("Uncertainty settings");
[158]12 add(new CheckboxPanel("Enable preference uncertainty", model.getIsEnabled()));
[229]13
[242]14 add(new SliderPanel("Number of outcomes in ranking (maximum = " + model.getTotalBids() +"): ", model.getComparisons()));
[227]15
[229]16 // Removed the errors for now but with all functionality intact; uncomment to add back in
17 // add(new SliderPanel("Nr. of errors ", model.getErrors()));
[227]18
[232]19 add(new DoublePanel("Elicitation cost: ", model.getElicitationCost()));
[229]20
[96]21 add(new CheckboxPanel(
[155]22 "Fixed seed (for reproducible results)",
23 model.getIsFixedSeed()));
24 add(new CheckboxPanel(
[96]25 "Grant parties access to real utility functions (experimental setup)",
26 model.getIsExperimental()));
[83]27 }
28}
Note: See TracBrowser for help on using the repository browser.