C# 클래스 MBC.Controllers.DaveBot_1_4_5.HistoryMap

상속: ProbabilityMap
파일 보기 프로젝트 열기: aiclub/Mohawk_Battleship 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
average double
variations double[][]

공개 메소드들

메소드 설명
HistoryMap ( int size, int shipLengths, CellStateMap cellStateMap ) : System
calculateAverage ( ) : void
calculateVariations ( ) : void
getVariation ( Coordinates coords ) : double
getVariation ( int x, int y ) : double

메소드 상세

HistoryMap() 공개 메소드

public HistoryMap ( int size, int shipLengths, CellStateMap cellStateMap ) : System
size int
shipLengths int
cellStateMap CellStateMap
리턴 System

calculateAverage() 공개 메소드

public calculateAverage ( ) : void
리턴 void

calculateVariations() 공개 메소드

public calculateVariations ( ) : void
리턴 void

getVariation() 공개 메소드

public getVariation ( Coordinates coords ) : double
coords Coordinates
리턴 double

getVariation() 공개 메소드

public getVariation ( int x, int y ) : double
x int
y int
리턴 double

프로퍼티 상세

average 공개적으로 프로퍼티

public double average
리턴 double

variations 공개적으로 프로퍼티

public double[][] variations
리턴 double[][]