ima.uco.fr.nuit.solchecker
Class ColumnConstraint

java.lang.Object
  extended by ima.uco.fr.nuit.solchecker.ColumnConstraint
All Implemented Interfaces:
Constraint

public class ColumnConstraint
extends java.lang.Object
implements Constraint

Checks that the percentage of women is not the same along columns

Author:
Quentin

Constructor Summary
ColumnConstraint()
           
 
Method Summary
 boolean checkConstraint(Solution s)
          Checks a solution
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnConstraint

public ColumnConstraint()
Method Detail

checkConstraint

public boolean checkConstraint(Solution s)
Description copied from interface: Constraint
Checks a solution

Specified by:
checkConstraint in interface Constraint
Parameters:
s - the solution to check
Returns:
true if the constraint verifies the solution, false otherwise