ima.uco.fr.nuit.solchecker
Interface Constraint

All Known Implementing Classes:
ColumnConstraint, RowConstraint

public interface Constraint

Models a constraint

Author:
Quentin

Method Summary
 boolean checkConstraint(Solution s)
          Checks a solution
 

Method Detail

checkConstraint

boolean checkConstraint(Solution s)
Checks a solution

Parameters:
s - the solution to check
Returns:
true if the constraint verifies the solution, false otherwise