프로퍼티 | 타입 | 설명 | |
---|---|---|---|
map | int[][] |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
cellStateMap | |||
shipLengths | int[] | ||
size | int | ||
weighted | int |
메소드 | 설명 | |
---|---|---|
ProbabilityMap ( int size, int shipLengths, |
||
decrement ( Coordinates coords ) : void | ||
decrement ( Coordinates coords, int amount ) : void | ||
decrement ( int x, int y ) : void | ||
decrement ( int x, int y, int amount ) : void | ||
getHighest ( ) : Coordinates | ||
getValue ( Coordinates coords ) : int | ||
getValue ( int x, int y ) : int | ||
increment ( Coordinates coords ) : void | ||
increment ( Coordinates coords, int amount ) : void | ||
increment ( int x, int y ) : void | ||
increment ( int x, int y, int amount ) : void | ||
operator ( ) : |
||
reset ( ) : void | ||
setValue ( Coordinates coords, int val ) : void | ||
setValue ( int x, int y, int val ) : void |
메소드 | 설명 | |
---|---|---|
addProbabilitiy ( Coordinates startPoint, List |
||
howManyFree ( List |
||
removeProbabilitiy ( List |
public ProbabilityMap ( int size, int shipLengths, |
||
size | int | |
shipLengths | int | |
cellStateMap | ||
리턴 | System |
protected addProbabilitiy ( Coordinates startPoint, List |
||
startPoint | Coordinates | |
coordList | List |
|
maxLength | int | |
리턴 | void |
public decrement ( Coordinates coords, int amount ) : void | ||
coords | Coordinates | |
amount | int | |
리턴 | void |
public decrement ( int x, int y, int amount ) : void | ||
x | int | |
y | int | |
amount | int | |
리턴 | void |
public increment ( Coordinates coords, int amount ) : void | ||
coords | Coordinates | |
amount | int | |
리턴 | void |
public increment ( int x, int y, int amount ) : void | ||
x | int | |
y | int | |
amount | int | |
리턴 | void |
protected removeProbabilitiy ( List |
||
coordList | List |
|
maxLength | int | |
리턴 | void |
public setValue ( Coordinates coords, int val ) : void | ||
coords | Coordinates | |
val | int | |
리턴 | void |
protected CellStateMap,MBC.Controllers.DaveBot_1_4_5 cellStateMap | ||
리턴 |