Метод | Описание | |
---|---|---|
Equals ( Object o ) : bool | ||
GetHashCode ( ) : int | ||
NQueensBoard ( int n ) : System | ||
ToString ( ) : String | ||
addQueenAt ( |
||
clear ( ) : void | ||
getBoardPic ( ) : String | ||
getNumberOfAttackingPairs ( ) : int | ||
getNumberOfAttacksOn ( |
||
getNumberOfQueensOnBoard ( ) : int | ||
getQueenPositions ( ) : List |
||
getSize ( ) : int | ||
isSquareUnderAttack ( |
||
moveQueen ( |
||
moveQueenTo ( |
||
print ( ) : void | ||
queenExistsAt ( |
||
removeQueenFrom ( |
||
setBoard ( List |
Метод | Описание | |
---|---|---|
isSquareDiagonallyAttacked ( int x, int y ) : bool | ||
isSquareHorizontallyAttacked ( int x, int y ) : bool | ||
isSquareVerticallyAttacked ( int x, int y ) : bool | ||
numberOfDiagonalAttacksOn ( int x, int y ) : int | ||
numberOfHorizontalAttacksOn ( int x, int y ) : int | ||
numberOfVerticalAttacksOn ( int x, int y ) : int | ||
queenExistsAt ( int x, int y ) : bool |
public addQueenAt ( |
||
l | ||
Результат | void |
public getNumberOfAttackingPairs ( ) : int | ||
Результат | int |
public getNumberOfAttacksOn ( |
||
l | ||
Результат | int |
public isSquareUnderAttack ( |
||
l | ||
Результат | bool |
public moveQueen ( |
||
from | ||
to | ||
Результат | void |
public moveQueenTo ( |
||
l | ||
Результат | void |
public queenExistsAt ( |
||
l | ||
Результат | bool |
public removeQueenFrom ( |
||
l | ||
Результат | void |