Skip to content

Instantly share code, notes, and snippets.

@tdgunes
Created September 18, 2018 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdgunes/e198bbe40d912ff71797b1fde2c3c15b to your computer and use it in GitHub Desktop.
Save tdgunes/e198bbe40d912ff71797b1fde2c3c15b to your computer and use it in GitHub Desktop.
YourAgentsName.java
import java.util.List;
import genius.core.AgentID;
import genius.core.Bid;
import genius.core.actions.Accept;
import genius.core.actions.Action;
import genius.core.actions.Offer;
import genius.core.parties.AbstractNegotiationParty;
import genius.core.parties.NegotiationInfo;
public class YourAgentsName extends AbstractNegotiationParty {
private final String description = "YourAgentsName";
@Override
public void init(NegotiationInfo info) {
super.init(info);
}
@Override
public Action chooseAction(List<Class<? extends Action>> list) {
}
@Override
public void receiveMessage(AgentID sender, Action act) {
super.receiveMessage(sender, act);
}
@Override
public String getDescription() {
return description;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment