Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.