C# Class Osmos.Motes

Mostrar archivo Open project: ajlopez/TddRocks

Public Methods

Method 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

Method Description
MovesToApply ( int mote, IList values, int maxcost ) : int
NumberToAdd ( int mote, IList values, IList residues ) : int

Method Details

CanBeSolved() public method

public CanBeSolved ( int mote, IList values ) : bool
mote int
values IList
return bool

GetResidues() public method

public GetResidues ( int mote, IList values ) : IList
mote int
values IList
return IList

IsSolved() public method

public IsSolved ( IList residues ) : bool
residues IList
return bool

MovesToApply() public method

public MovesToApply ( int mote, IList values ) : int
mote int
values IList
return int

NumberToAdd() public method

public NumberToAdd ( int mote, IList values ) : int
mote int
values IList
return int

NumberToRemove() public method

public NumberToRemove ( IList values, IList residues ) : int
values IList
residues IList
return int