Created
September 18, 2018 17:33
-
-
Save tdgunes/e198bbe40d912ff71797b1fde2c3c15b to your computer and use it in GitHub Desktop.
YourAgentsName.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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