|
QDpy
|
Structure-directed heuristic repertoires with instance-specific selection. More...
Go to the source code of this file.
Classes | |
| class | qdpy.algorithms.heuristic_design.HeuristicDesignStats |
| Work and admissions from heuristic repertoire construction. More... | |
| class | qdpy.algorithms.heuristic_design.QDHeuristicDesign |
| Evolve a repertoire with structural Shapley features and select by instance similarity. More... | |
Namespaces | |
| namespace | qdpy |
Functions | |
| qdpy.algorithms.heuristic_design.ast_node_counts (source, node_names) | |
| Count named Python AST nodes without executing a candidate. | |
Structure-directed heuristic repertoires with instance-specific selection.
Definition in file heuristic_design.py.
| qdpy.algorithms.heuristic_design.ast_node_counts | ( | source, | |
| node_names ) |
Count named Python AST nodes without executing a candidate.
Return counts in the supplied AST class-name order. SyntaxError from ast.parse lets callers reject malformed proposals before they submit them to a training evaluator.
Definition at line 24 of file heuristic_design.py.