Last change
on this file since 236 was 232, checked in by Adel Magra, 5 years ago |
Created a User class that implements an elicit functionality.
Created a Top_3 Agent with the BOA framework to showcase this functionality.
|
File size:
1.0 KB
|
Rev | Line | |
---|
[83] | 1 | package genius.gui.tree;
|
---|
| 2 |
|
---|
| 3 | import genius.gui.panels.CheckboxPanel;
|
---|
[227] | 4 | import genius.gui.panels.DoublePanel;
|
---|
[89] | 5 | import genius.gui.panels.SliderPanel;
|
---|
[83] | 6 | import genius.gui.panels.VflowPanelWithBorder;
|
---|
| 7 |
|
---|
| 8 | @SuppressWarnings("serial")
|
---|
| 9 | public 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 |
|
---|
| 14 | add(new SliderPanel("Number of rankings (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.