Package org.xcsp.common
Class Softening.SofteningSimple
- java.lang.Object
-
- org.xcsp.common.Softening
-
- org.xcsp.common.Softening.SofteningSimple
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.xcsp.common.Softening
Softening.SofteningExtension, Softening.SofteningGlobal, Softening.SofteningIntension, Softening.SofteningSimple
-
-
Field Summary
Fields Modifier and Type Field Description int
violationCost
The cost to be considered when the underlying constraint is violated.
-
Constructor Summary
Constructors Constructor Description SofteningSimple(int violationCost)
SofteningSimple(Condition cost, int violationCost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
-
Methods inherited from class org.xcsp.common.Softening
isCostFunction
-
-
-
-
Constructor Detail
-
SofteningSimple
public SofteningSimple(Condition cost, int violationCost)
-
SofteningSimple
public SofteningSimple(int violationCost)
-
-