C# Class Osmos.Motes

Afficher le fichier Open project: ajlopez/TddRocks

Méthodes publiques

Méthode Description
CanBeSolved ( int mote, IList values ) : bool
GetResidues ( int mote, IList values ) : IList
IsSolved ( IList residues ) : bool
MovesToApply ( int mote, IList values ) : int
NumberToAdd ( int mote, IList values ) : int
NumberToRemove ( IList values, IList residues ) : int

Private Methods

Méthode Description
MovesToApply ( int mote, IList values, int maxcost ) : int
NumberToAdd ( int mote, IList values, IList residues ) : int

Method Details

CanBeSolved() public méthode

public CanBeSolved ( int mote, IList values ) : bool
mote int
values IList
Résultat bool

GetResidues() public méthode

public GetResidues ( int mote, IList values ) : IList
mote int
values IList
Résultat IList

IsSolved() public méthode

public IsSolved ( IList residues ) : bool
residues IList
Résultat bool

MovesToApply() public méthode

public MovesToApply ( int mote, IList values ) : int
mote int
values IList
Résultat int

NumberToAdd() public méthode

public NumberToAdd ( int mote, IList values ) : int
mote int
values IList
Résultat int

NumberToRemove() public méthode

public NumberToRemove ( IList values, IList residues ) : int
values IList
residues IList
Résultat int