-
Notifications
You must be signed in to change notification settings - Fork 10
Accessing weights of each issue
Taha Doğan Güneş edited this page Nov 22, 2017
·
2 revisions
You can access the weights of each issue of your assigned preference profile.
AbstractUtilitySpace utilitySpace = info.getUtilitySpace();
AdditiveUtilitySpace additiveUtilitySpace = (AdditiveUtilitySpace) utilitySpace;
List<Issue> issues = additiveUtilitySpace.getDomain().getIssues();
for (Issue issue : issues) {
System.out.println(additiveUtilitySpace.getWeight(issue.getNumber()));
}
Genuis supports other
UtilitySpace
classes as well. The last internation competition (2017) usedAdditiveUtilitySpace
only. The utility of a bid within this space is explained here.
To access the evaluations of each value of an each issue, have a look at this page.
Please create an issue, if you find any errors or you want a topic covered in this wiki.
- Java Programming Cheatsheet
- Setting Up Genius Environment
- Stacked Alternating Offers Protocol
- AbstractNegotationParty Methods
- How to generate a random bid?
- How to generate a random bid with a utility threshold?
- How to change the content of a bid?
- How to keep track of time in a negotiation session?
- How to get the maximum and minimum bid?
- How to iterate all bids in a domain?
- How to access weights of each issue?
- How to access the evaluation of a value?