-
Notifications
You must be signed in to change notification settings - Fork 10
Debugging your negotiating agent
Taha Doğan Güneş edited this page Nov 14, 2017
·
5 revisions
Rather than using System.out.println(someVariable) or logging variables to a text file, you can use the debug mode of your IDE.
Specifically in Intellij, you need to add a new run configuration to your project:
- Click
Select Run/Debug Configuration, thenEdit Configuration.

- Add a new
Applicationconfiguration.

- You need to fill out
Main classandWorking directoryfields. ForMain class, search forNegoGUIAppand pick main class.

- Working directory must be where your
negosimulator.jarfile is located at (i.e.geniusfolder).

- After adding breakpoints (or/and debugging rules), run Genius in debug mode as shown below:

You can find the steps in the official GENIUS manual in the appendix section.
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?