Uses of Enum Class
cloud.opencode.base.rules.score.AggregationStrategy
Packages that use AggregationStrategy
-
Uses of AggregationStrategy in cloud.opencode.base.rules.score
Subclasses with type arguments of type AggregationStrategy in cloud.opencode.base.rules.scoreModifier and TypeClassDescriptionenumAggregation Strategy - Defines How Individual Rule Scores Are Combined 聚合策略 - 定义如何组合各规则的分数Methods in cloud.opencode.base.rules.score that return AggregationStrategyModifier and TypeMethodDescriptionScoreResult.strategy()Returns the value of thestrategyrecord component.static AggregationStrategyReturns the enum constant of this class with the specified name.static AggregationStrategy[]AggregationStrategy.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in cloud.opencode.base.rules.score with parameters of type AggregationStrategyModifier and TypeMethodDescriptionstatic ScoreResultScoringEngine.score(RuleContext context, Collection<ScoringRule> rules, AggregationStrategy strategy) Scores a collection of rules against a context using the given strategy 使用给定策略针对上下文对一组规则进行评分Constructors in cloud.opencode.base.rules.score with parameters of type AggregationStrategyModifierConstructorDescriptionScoreResult(double totalScore, Map<String, Double> ruleScores, AggregationStrategy strategy) Creates a ScoreResult with a defensive copy of the rule scores map 使用规则分数映射的防御性副本创建ScoreResult