C# 클래스 AIMA.Core.Environment.EightPuzzle.EightPuzzleBoard

파일 보기 프로젝트 열기: PaulMineau/AIMA.Net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DOWN System.Action
LEFT System.Action
RIGHT System.Action
UP System.Action

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

EightPuzzleBoard() 공개 메소드

public EightPuzzleBoard ( ) : System
리턴 System

EightPuzzleBoard() 공개 메소드

public EightPuzzleBoard ( EightPuzzleBoard copyBoard ) : System
copyBoard EightPuzzleBoard
리턴 System

EightPuzzleBoard() 공개 메소드

public EightPuzzleBoard ( int state ) : System
state int
리턴 System

Equals() 공개 메소드

public Equals ( Object o ) : bool
o Object
리턴 bool

HashCode() 공개 메소드

public HashCode ( ) : int
리턴 int

ToString() 공개 메소드

public ToString ( ) : String
리턴 String

canMoveGap() 공개 메소드

public canMoveGap ( System.Action where ) : bool
where System.Action
리턴 bool

getLocationOf() 공개 메소드

public getLocationOf ( int val ) : XYLocation
val int
리턴 XYLocation

getPositions() 공개 메소드

public getPositions ( ) : List
리턴 List

getState() 공개 메소드

public getState ( ) : int[]
리턴 int[]

getValueAt() 공개 메소드

public getValueAt ( XYLocation loc ) : int
loc XYLocation
리턴 int

moveGapDown() 공개 메소드

public moveGapDown ( ) : void
리턴 void

moveGapLeft() 공개 메소드

public moveGapLeft ( ) : void
리턴 void

moveGapRight() 공개 메소드

public moveGapRight ( ) : void
리턴 void

moveGapUp() 공개 메소드

public moveGapUp ( ) : void
리턴 void

setBoard() 공개 메소드

public setBoard ( List locs ) : void
locs List
리턴 void

프로퍼티 상세

DOWN 공개적으로 정적으로 프로퍼티

public static Action,System DOWN
리턴 System.Action

LEFT 공개적으로 정적으로 프로퍼티

public static Action,System LEFT
리턴 System.Action

RIGHT 공개적으로 정적으로 프로퍼티

public static Action,System RIGHT
리턴 System.Action

UP 공개적으로 정적으로 프로퍼티

public static Action,System UP
리턴 System.Action