private ChocoConstraint build ( Constraint cstr ) throws SchedulerException { ChocoMapper mapper = params . getMapper ( ) ; ChocoConstraint cc = mapper . get ( cstr ) ; if ( cc == null ) { throw new SchedulerModelingException ( origin , "No implementation mapped to '" + cstr . getClass ( ) . getSimpleName ( ) + "'" ) ; } return cc ; }
Build a sat constraint