C# Class Lawnmover.Pattern

Afficher le fichier Open project: ajlopez/TddRocks Class Usage Examples

Méthodes publiques

Méthode Description
GetCell ( int nrow, int ncol ) : int
GetMinUnsolved ( ) : Cell
HasSolution ( ) : bool
IsSolved ( int nrow, int ncol ) : bool
IsValidColumnMove ( int ncol, int move ) : bool
IsValidRowMove ( int nrow, int move ) : bool
MoveColumn ( int ncol, int value ) : void
MoveRow ( int nrow, int value ) : void
Pattern ( int width, int height ) : System
SetRow ( int nrow, IList values ) : void
SetRow ( int nrow, string values ) : void

Method Details

GetCell() public méthode

public GetCell ( int nrow, int ncol ) : int
nrow int
ncol int
Résultat int

GetMinUnsolved() public méthode

public GetMinUnsolved ( ) : Cell
Résultat Cell

HasSolution() public méthode

public HasSolution ( ) : bool
Résultat bool

IsSolved() public méthode

public IsSolved ( int nrow, int ncol ) : bool
nrow int
ncol int
Résultat bool

IsValidColumnMove() public méthode

public IsValidColumnMove ( int ncol, int move ) : bool
ncol int
move int
Résultat bool

IsValidRowMove() public méthode

public IsValidRowMove ( int nrow, int move ) : bool
nrow int
move int
Résultat bool

MoveColumn() public méthode

public MoveColumn ( int ncol, int value ) : void
ncol int
value int
Résultat void

MoveRow() public méthode

public MoveRow ( int nrow, int value ) : void
nrow int
value int
Résultat void

Pattern() public méthode

public Pattern ( int width, int height ) : System
width int
height int
Résultat System

SetRow() public méthode

public SetRow ( int nrow, IList values ) : void
nrow int
values IList
Résultat void

SetRow() public méthode

public SetRow ( int nrow, string values ) : void
nrow int
values string
Résultat void