|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjagafa.ai.ProbabilityAI
public class ProbabilityAI
AI - Yet only for Oben-, Unten- and Coiffeur-RuleSet Uses the ProbabilityTable for the Throw/Bring strategy only TODO: Extend probability table usage to other strategys
| Constructor Summary | |
|---|---|
ProbabilityAI()
|
|
| Method Summary | |
|---|---|
RuleSet |
chooseRuleSet()
Choose a RuleSet out of the available Sets of a given scoreTable |
Card |
computeCard()
Compute a card to be played by the player |
void |
init(Player p,
JassRound game)
Initializes the AI with the Player and the Game object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProbabilityAI()
| Method Detail |
|---|
public Card computeCard()
JassAI
computeCard in interface JassAI
public void init(Player p,
JassRound game)
JassAI
init in interface JassAIp - The player which holds this AIgame - The game objectpublic RuleSet chooseRuleSet()
JassAI
chooseRuleSet in interface JassAI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||