|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AIKernel
Method Summary | |
---|---|
Decision |
bestFor(Context context)
Determine the shape that would be best for the player |
Decision |
bestFor(Context context,
ShapeType type)
Determine the best way for a player to play a single shape. |
Decision |
bestFor(Field inPlayField)
|
Decision |
bestFor(QueueContext context)
Determine the best way for a player to play a particular queue of shapes. |
Fitness |
getFitness()
|
Decision |
planBest(Context context,
Decision defaultDecision)
Determine the shape that would be best for the player |
Decision |
planWorst(Context context,
Decision defaultDecision)
Determine the shape that would be worst for the player |
void |
setFitness(Fitness fitness)
|
Decision |
worstFor(Context context)
Determine the shape that would be worst for the player |
Method Detail |
---|
Decision bestFor(QueueContext context)
context
-
Decision bestFor(Context context, ShapeType type)
context
- type
-
Decision bestFor(Field inPlayField)
Decision bestFor(Context context)
context
-
Decision planBest(Context context, Decision defaultDecision)
context
- defaultDecision
-
Decision worstFor(Context context)
context
-
Decision planWorst(Context context, Decision defaultDecision)
context
- defaultDecision
-
Fitness getFitness()
void setFitness(Fitness fitness)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |