public static enum TypeWithExpertiseConstraint.SkillWithExpertiseCostModel extends Enum<TypeWithExpertiseConstraint.SkillWithExpertiseCostModel>
A delta value is the actual level of a resource minus the requested level.
== Case MaxLevel:
E.g.: Requested level 3. Resource level is 8. The delta is 5
PENALIZE_MATCHING_SKILL_HIGH_DELTA = High divergence = penalize PENALIZE_MATCHING_SKILL_LOW_DELTA = High divergence = Do not penalize
In short: Try to maximize or minimize divergence
Enum Constant and Description |
---|
NO_PENALIZE_MATCHING_SKILL
The no penalize matching skill.
|
PENALIZE_MATCHING_SKILL_HIGH_DELTA
The penalize matching skill high.
|
PENALIZE_MATCHING_SKILL_LOW_DELTA
The penalize matching skill low.
|
Modifier and Type | Method and Description |
---|---|
static TypeWithExpertiseConstraint.SkillWithExpertiseCostModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeWithExpertiseConstraint.SkillWithExpertiseCostModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeWithExpertiseConstraint.SkillWithExpertiseCostModel PENALIZE_MATCHING_SKILL_HIGH_DELTA
If the skill level is much higher than the request level, slightly penalize the solution.
If the skill level is a min, penalize much lower skill levels.
public static final TypeWithExpertiseConstraint.SkillWithExpertiseCostModel PENALIZE_MATCHING_SKILL_LOW_DELTA
If the skill level is just equal or slightly above the requested level, Slightly penalize the solution.
If the skill level is a min, penalize equal (slightly smaller) skill levels.
public static final TypeWithExpertiseConstraint.SkillWithExpertiseCostModel NO_PENALIZE_MATCHING_SKILL
Matching skill levels are not penalized (Default)
public static TypeWithExpertiseConstraint.SkillWithExpertiseCostModel[] values()
for (TypeWithExpertiseConstraint.SkillWithExpertiseCostModel c : TypeWithExpertiseConstraint.SkillWithExpertiseCostModel.values()) System.out.println(c);
public static TypeWithExpertiseConstraint.SkillWithExpertiseCostModel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.