Package com.helix.core.reorder
Interface ReorderingPolicy
- All Known Implementing Classes:
NeuralAstReorderingPolicy,RatioSortPolicy
public interface ReorderingPolicy
Service Provider Interface (SPI) defining strategies for determining
the optimal evaluation ordering of candidate AST clauses.
-
Method Summary
Modifier and TypeMethodDescriptiondetermineOrder(List<NodeStats> nodes) Determines the optimal evaluation order of candidate AST clauses.
-
Method Details
-
determineOrder
Determines the optimal evaluation order of candidate AST clauses.- Parameters:
nodes- list of node statistics corresponding to candidate clauses- Returns:
- list of 0-based indices representing the new evaluation sequence
-