public interface IZoneCodeConstraint<Z extends IZoneCode,Q extends IZoneCodeQualification<Z>> extends IWorkingHoursLevelConstraint
Modifier and Type | Method and Description |
---|---|
void |
addZoneCode(Z code) |
Optional<Q> |
getNodeZoneQualification(INode node) |
List<Z> |
getZoneCodes() |
Optional<IViolation> |
matchCodesAndPenalize(Q qualification,
List<Z> masterCodes,
ILogicEntityRoute route,
com.dna.jopt.assessment.costadjustment.IEntityCostAdjuster cad,
com.dna.jopt.framework.inputplausibility.properties.IPropertyProvider propertyProvider,
boolean resultRequested) |
boolean |
matchZoneCodes(Q qualification,
List<Z> masterCodes) |
void |
setCodes(List<Z> codes) |
assessConstraint, getTitle, hasMembers, isHard, isSatisfied, setIsHard
void addZoneCode(Z code)
Optional<IViolation> matchCodesAndPenalize(Q qualification, List<Z> masterCodes, ILogicEntityRoute route, com.dna.jopt.assessment.costadjustment.IEntityCostAdjuster cad, com.dna.jopt.framework.inputplausibility.properties.IPropertyProvider propertyProvider, boolean resultRequested)
Copyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.