public class CostStrategyWeightsImpl extends java.lang.Object implements CostStrategyConfiguration
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
w |
| Constructor and Description |
|---|
CostStrategyWeightsImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
int |
getWeightBaseCostForNoMatch() |
int |
getWeightGlobalStructure() |
int |
getWeightMatched() |
int |
getWeightNoMatch() |
void |
setName(java.lang.String name) |
void |
setWeightBaseCostForNoMatch(int c) |
void |
setWeightGlobalStructure(int w) |
void |
setWeightMatched(int w) |
void |
setWeightNoMatch(int w) |
public int getWeightMatched()
getWeightMatched in interface CostStrategyConfigurationpublic int getWeightNoMatch()
getWeightNoMatch in interface CostStrategyConfigurationpublic int getWeightGlobalStructure()
getWeightGlobalStructure in interface CostStrategyConfigurationpublic void setWeightMatched(int w)
setWeightMatched in interface CostStrategyConfigurationpublic void setWeightNoMatch(int w)
setWeightNoMatch in interface CostStrategyConfigurationpublic void setWeightGlobalStructure(int w)
setWeightGlobalStructure in interface CostStrategyConfigurationpublic int getWeightBaseCostForNoMatch()
getWeightBaseCostForNoMatch in interface CostStrategyConfigurationpublic java.lang.String getName()
getName in interface CostStrategyConfigurationpublic void setName(java.lang.String name)
setName in interface CostStrategyConfigurationpublic void setWeightBaseCostForNoMatch(int c)
setWeightBaseCostForNoMatch in interface CostStrategyConfigurationc - with precondition that c >= 0