public void mapConstraint ( Class < ? extends Constraint > c , Class < ? extends ChocoConstraint > cc ) { constraints . put ( c , cc ) ; }
Register a mapping between an api - side constraint and its choco implementation . It is expected from the implementation to exhibit a constructor that takes the api - side constraint as argument .