private static final class UnResolvedWeightedCallTargets.UnResolvedMultiTarget extends UnResolvedWeightedCallTargets
UnResolvedWeightedCallTargets.Visitor| Modifier and Type | Field and Description | 
|---|---|
| (package private) MethodReference[] | methods | 
| (package private) float[] | weights | 
| Modifier | Constructor and Description | 
|---|---|
| private  | UnResolvedMultiTarget() | 
| Modifier and Type | Method and Description | 
|---|---|
| UnResolvedWeightedCallTargets | augmentCount(MethodReference t,
            double v)Augment the weight associated with the argument method by the argument amount. | 
| void | decay(double rate)Decay the weights of all call targets by the specified amount | 
| UnResolvedWeightedCallTargets | filter(MethodReference goal) | 
| double | totalWeight() | 
| void | visitTargets(UnResolvedWeightedCallTargets.Visitor func)Iterate over all of the targets, evaluating the argument function on each edge. | 
create, incrementCountMethodReference[] methods
float[] weights
private UnResolvedMultiTarget()
public void visitTargets(UnResolvedWeightedCallTargets.Visitor func)
UnResolvedWeightedCallTargetsvisitTargets in class UnResolvedWeightedCallTargetsfunc - the function to evaluate on each targetpublic UnResolvedWeightedCallTargets augmentCount(MethodReference t, double v)
UnResolvedWeightedCallTargetsaugmentCount in class UnResolvedWeightedCallTargetst - the target methodv - the amount to addpublic void decay(double rate)
UnResolvedWeightedCallTargetsdecay in class UnResolvedWeightedCallTargetsrate - the value to decay bypublic double totalWeight()
totalWeight in class UnResolvedWeightedCallTargetspublic UnResolvedWeightedCallTargets filter(MethodReference goal)
filter in class UnResolvedWeightedCallTargetsgoal - MethodReference that is the only statically possible targetnull if no such target exists