public class ChessDomain extends java.lang.Object implements DomainSpecifics
Constructor and Description |
---|
ChessDomain() |
Modifier and Type | Method and Description |
---|---|
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.
|
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