Property | Type | Description | |
---|---|---|---|
map | int[][] |
Property | Type | Description | |
---|---|---|---|
cellStateMap | |||
shipLengths | int[] | ||
size | int | ||
weighted | int |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
addProbabilitiy ( Coordinates startPoint, List |
||
howManyFree ( List |
||
removeProbabilitiy ( List |
public ProbabilityMap ( int size, int shipLengths, |
||
size | int | |
shipLengths | int | |
cellStateMap | ||
return | System |
protected addProbabilitiy ( Coordinates startPoint, List |
||
startPoint | Coordinates | |
coordList | List |
|
maxLength | int | |
return | void |
public decrement ( Coordinates coords ) : void | ||
coords | Coordinates | |
return | void |
public decrement ( Coordinates coords, int amount ) : void | ||
coords | Coordinates | |
amount | int | |
return | void |
public decrement ( int x, int y, int amount ) : void | ||
x | int | |
y | int | |
amount | int | |
return | void |
public increment ( Coordinates coords ) : void | ||
coords | Coordinates | |
return | void |
public increment ( Coordinates coords, int amount ) : void | ||
coords | Coordinates | |
amount | int | |
return | void |
public increment ( int x, int y, int amount ) : void | ||
x | int | |
y | int | |
amount | int | |
return | void |
protected removeProbabilitiy ( List |
||
coordList | List |
|
maxLength | int | |
return | void |
public setValue ( Coordinates coords, int val ) : void | ||
coords | Coordinates | |
val | int | |
return | void |
public setValue ( int x, int y, int val ) : void | ||
x | int | |
y | int | |
val | int | |
return | void |
protected CellStateMap,MBC.Controllers.DaveBot_1_4_5 cellStateMap | ||
return |