C# Class MBC.Controllers.DaveBot_1_4_5.HistoryMap

Inheritance: ProbabilityMap
Mostra file Open project: aiclub/Mohawk_Battleship Class Usage Examples

Public Properties

Property Type Description
average double
variations double[][]

Public Methods

Method Description
HistoryMap ( int size, int shipLengths, CellStateMap cellStateMap ) : System
calculateAverage ( ) : void
calculateVariations ( ) : void
getVariation ( Coordinates coords ) : double
getVariation ( int x, int y ) : double

Method Details

HistoryMap() public method

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

calculateAverage() public method

public calculateAverage ( ) : void
return void

calculateVariations() public method

public calculateVariations ( ) : void
return void

getVariation() public method

public getVariation ( Coordinates coords ) : double
coords Coordinates
return double

getVariation() public method

public getVariation ( int x, int y ) : double
x int
y int
return double

Property Details

average public_oe property

public double average
return double

variations public_oe property

public double[][] variations
return double[][]