If I set the weight of a constraint to zero, does that mean that this constraint does not take effect? look like below:
@ConstraintWeight("Speaker conflict")
private HardMediumSoftScore speakerConflict = HardMediumSoftScore.ofHard(0);
Functionally: yes, the constraint has no score impact so is effectively ignored.
Implementation wise:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.