| java.lang.Object de.uka.ilkd.key.strategy.termfeature.ShannonTermFeature
ShannonTermFeature | public class ShannonTermFeature implements TermFeature(Code) | | A conditional feature, in which the condition itself is a (binary) feature.
The general notion is a term c ? f1 : f2 , whereby the
condition c determines whether the value of the whole
expression is f1 (if c returns zero, or more
general if c returns a distinguished value
trueCost ) or f2
|
createConditionalBinary | public static TermFeature createConditionalBinary(TermFeature cond, TermFeature thenFeature, TermFeature elseFeature)(Code) | | Parameters: cond - the feature that decides which value is to be returned Parameters: thenFeature - the value of the feature if cond returns zero Parameters: elseFeature - the value of the feature if cond does notreturn zero the value of thenFeature if cond returns zero, the value of elseFeature otherwise |
createConditionalBinary | public static TermFeature createConditionalBinary(TermFeature cond, TermFeature thenFeature)(Code) | | Parameters: cond - the feature that decides which value is to be returned Parameters: thenFeature - the value of the feature if cond returns zero the value of thenFeature if cond returns zero, zero otherwise |
|
|