Constructor
new SoftConstraint(constraint)
Parameters:
| Name | Type | Description |
|---|---|---|
constraint |
object | Constraint object |
Methods
calculateScore(value)
Calculates score for single softconstraint based on value for softconstraint
Parameters:
| Name | Type | Description |
|---|---|---|
value |
value for softConstraint |