C# Class AIMA.Core.Environment.EightPuzzle.EightPuzzleBoard

Afficher le fichier Open project: PaulMineau/AIMA.Net Class Usage Examples

Méthodes publiques

Свойство Type Description
DOWN System.Action
LEFT System.Action
RIGHT System.Action
UP System.Action

Méthodes publiques

Méthode Description
EightPuzzleBoard ( ) : System
EightPuzzleBoard ( EightPuzzleBoard copyBoard ) : System
EightPuzzleBoard ( int state ) : System
Equals ( Object o ) : bool
HashCode ( ) : int
ToString ( ) : String
canMoveGap ( System.Action where ) : bool
getLocationOf ( int val ) : XYLocation
getPositions ( ) : List
getState ( ) : int[]
getValueAt ( XYLocation loc ) : int
moveGapDown ( ) : void
moveGapLeft ( ) : void
moveGapRight ( ) : void
moveGapUp ( ) : void
setBoard ( List locs ) : void

Private Methods

Méthode Description
getAbsPosition ( int x, int y ) : int
getGapPosition ( ) : int
getPositionOf ( int val ) : int
getValueAt ( int x, int y ) : int
getXCoord ( int absPos ) : int
getYCoord ( int absPos ) : int
setValue ( int x, int y, int val ) : void

Method Details

EightPuzzleBoard() public méthode

public EightPuzzleBoard ( ) : System
Résultat System

EightPuzzleBoard() public méthode

public EightPuzzleBoard ( EightPuzzleBoard copyBoard ) : System
copyBoard EightPuzzleBoard
Résultat System

EightPuzzleBoard() public méthode

public EightPuzzleBoard ( int state ) : System
state int
Résultat System

Equals() public méthode

public Equals ( Object o ) : bool
o Object
Résultat bool

HashCode() public méthode

public HashCode ( ) : int
Résultat int

ToString() public méthode

public ToString ( ) : String
Résultat String

canMoveGap() public méthode

public canMoveGap ( System.Action where ) : bool
where System.Action
Résultat bool

getLocationOf() public méthode

public getLocationOf ( int val ) : XYLocation
val int
Résultat XYLocation

getPositions() public méthode

public getPositions ( ) : List
Résultat List

getState() public méthode

public getState ( ) : int[]
Résultat int[]

getValueAt() public méthode

public getValueAt ( XYLocation loc ) : int
loc XYLocation
Résultat int

moveGapDown() public méthode

public moveGapDown ( ) : void
Résultat void

moveGapLeft() public méthode

public moveGapLeft ( ) : void
Résultat void

moveGapRight() public méthode

public moveGapRight ( ) : void
Résultat void

moveGapUp() public méthode

public moveGapUp ( ) : void
Résultat void

setBoard() public méthode

public setBoard ( List locs ) : void
locs List
Résultat void

Property Details

DOWN public_oe static_oe property

public static Action,System DOWN
Résultat System.Action

LEFT public_oe static_oe property

public static Action,System LEFT
Résultat System.Action

RIGHT public_oe static_oe property

public static Action,System RIGHT
Résultat System.Action

UP public_oe static_oe property

public static Action,System UP
Résultat System.Action