2-APL UPC project.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

updatebid added

fdesan 1e7436e7 004023cc

+6
+6
code/2apl_platform/environments/cardtable/Env.java
··· 175 175 return wrapBoolean(true); 176 176 } 177 177 178 + public Term updateBid(String sAgent, APLNum bid) throws ExternalActionFailedException { 179 + Agent agent = getAgent(sAgent); 180 + table.updateScore(agent.getName(), agent._position, bid.toInt()); 181 + return wrapBoolean(true); 182 + } 183 + 178 184 /* Standard functions --------------------------------------*/ 179 185 180 186 private void notifyAgents(APLFunction event, String... receivers) {