| java.lang.Object de.uka.ilkd.key.strategy.feature.ConditionalFeature
ConditionalFeature | public class ConditionalFeature implements Feature(Code) | | A feature that evaluates one of two given features, depending on the result
of a RuleFilter
|
Method Summary | |
public RuleAppCost | compute(RuleApp app, PosInOccurrence pos, Goal goal) | public static Feature | createConditional(RuleFilter cond, RuleAppCost thenValue) | public static Feature | createConditional(RuleFilter cond, RuleAppCost thenValue, RuleAppCost elseValue) | public static Feature | createConditional(RuleFilter cond, Feature thenFeature) | public static Feature | createConditional(RuleFilter cond, Feature thenFeature, RuleAppCost elseValue) | public static Feature | createConditional(RuleFilter cond, Feature thenFeature, Feature elseFeature) |
createConditional | public static Feature createConditional(RuleFilter cond, RuleAppCost thenValue)(Code) | | Parameters: cond - the filter that decides which value is to be returned Parameters: thenValue - the value of the feature, if filter returns true |
createConditional | public static Feature createConditional(RuleFilter cond, RuleAppCost thenValue, RuleAppCost elseValue)(Code) | | Parameters: cond - the filter that decides which value is to be returned Parameters: thenValue - the value of the feature, if filter returns true Parameters: elseValue - the value of the feature, if filter returns false |
createConditional | public static Feature createConditional(RuleFilter cond, Feature thenFeature)(Code) | | Parameters: cond - the filter that decides which value is to be returned Parameters: thenFeature - the feature that is evaluted, if filter returns true Parameters: elseValue - the value of the feature, if filter returns false |
createConditional | public static Feature createConditional(RuleFilter cond, Feature thenFeature, RuleAppCost elseValue)(Code) | | Parameters: cond - the filter that decides which value is to be returned Parameters: thenFeature - the feature that is evaluted, if filter returns true Parameters: elseValue - the value of the feature, if filter returns false |
createConditional | public static Feature createConditional(RuleFilter cond, Feature thenFeature, Feature elseFeature)(Code) | | Parameters: cond - the filter that decides which value is to be returned Parameters: thenFeature - the feature that is evaluted, if filter returns true Parameters: elseFeature - the feature that is evaluted, if filter returns false |
|
|