|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjchrest.lib.ChessDomain
public class ChessDomain
The ChessDomain is used for chess modelling.
Constructor Summary | |
---|---|
ChessDomain()
|
Method Summary | |
---|---|
static Scene |
constructBoard(java.lang.String definition)
Construct a chess board given a string definition. |
java.util.Set<Square> |
getBigPieces(Scene scene)
Returns the set of big pieces in given scene. |
java.util.Set<Square> |
getOffensivePieces(Scene scene)
Return the set of offensive pieces in given scene. |
ListPattern |
normalise(ListPattern pattern)
Sort given list pattern into a canonical order of chess pieces, as defined in deGroot and Gobet (1996). |
java.util.List<Square> |
proposeMovementFixations(Scene board,
Square square)
Calculate a list of possible destination squares for a piece in a scene. |
java.util.Set<Square> |
proposeSalientSquareFixations(Scene scene,
Chrest model)
Use level of expertise to determine saliency. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChessDomain()
Method Detail |
---|
public ListPattern normalise(ListPattern pattern)
normalise
in interface DomainSpecifics
public java.util.Set<Square> proposeSalientSquareFixations(Scene scene, Chrest model)
proposeSalientSquareFixations
in interface DomainSpecifics
public static Scene constructBoard(java.lang.String definition)
public java.util.Set<Square> getBigPieces(Scene scene)
public java.util.Set<Square> getOffensivePieces(Scene scene)
public java.util.List<Square> proposeMovementFixations(Scene board, Square square)
proposeMovementFixations
in interface DomainSpecifics
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |