source: src/main/java/agents/anac/y2010/AgentSmith/ABidStrategy.java

Last change on this file was 1, checked in by Wouter Pasman, 6 years ago

Initial import : Genius 9.0.0

File size: 1.1 KB
Line 
1package agents.anac.y2010.AgentSmith;
2
3import genius.core.AgentID;
4import genius.core.actions.Action;
5import genius.core.utility.AdditiveUtilitySpace;
6
7/*
8 * An abstract class for the bidstrategy classes
9 * Params: the bidhistory for managing what has been offered before, the standard utilityspace,
10 * the preferenceprofilemanager for modelling the opponents' preferences, and the default agentid
11 */
12public abstract class ABidStrategy {
13 protected BidHistory fBidHistory;
14 protected AdditiveUtilitySpace fUtilitySpace;
15 protected PreferenceProfileManager fPreferenceProfile;
16 protected AgentID fAgentID;
17
18 /*
19 * Constructor
20 */
21 public ABidStrategy(BidHistory pHist, AdditiveUtilitySpace pUtilitySpace, PreferenceProfileManager pPreferenceProfile, AgentID pId){
22 this.fBidHistory = pHist;
23 this.fUtilitySpace = pUtilitySpace;
24 this.fPreferenceProfile = pPreferenceProfile;
25 this.fAgentID = pId;
26 }
27
28
29 /**
30 * Selects the next action the agent should perform.
31 * @return the next action based on the bidhistory and preference profile.
32 */
33 public Action getNextAction(double startTime){
34 Action lAction = null;
35 return lAction;
36 }
37}
Note: See TracBrowser for help on using the repository browser.