Uses of Interface
com.knezevic.edaf.v3.repr.grammar.model.DerivationTree
Packages that use DerivationTree
Package
Description
Grammar-based representation infrastructure.
Deterministic grammar decision-vector encoding utilities.
Tree evaluators for grammar-derived programs.
Grammar model entities.
Rendering utilities for symbolic trees.
Serialization formats for grammar trees and metadata.
-
Uses of DerivationTree in com.knezevic.edaf.v3.repr.grammar
Methods in com.knezevic.edaf.v3.repr.grammar that return DerivationTreeModifier and TypeMethodDescriptionGrammarTreeEngine.TreeInspection.tree()Returns the value of thetreerecord component.Constructors in com.knezevic.edaf.v3.repr.grammar with parameters of type DerivationTreeModifierConstructorDescriptionTreeInspection(DerivationTree tree, List<Integer> decisionVector, List<Double> ercValues, String infix, String prefix, String latex, String dot, Map<String, Object> ast, String astJson, TreeMetrics.Summary metrics) Creates an instance of aTreeInspectionrecord class. -
Uses of DerivationTree in com.knezevic.edaf.v3.repr.grammar.encoding
Methods in com.knezevic.edaf.v3.repr.grammar.encoding that return DerivationTreeModifier and TypeMethodDescriptionGrammarDecisionCodec.DecodedTree.tree()Returns the value of thetreerecord component.Constructors in com.knezevic.edaf.v3.repr.grammar.encoding with parameters of type DerivationTreeModifierConstructorDescriptionDecodedTree(DerivationTree tree, List<Integer> decisionVector, List<Double> ercValues, int consumedBits) Creates an instance of aDecodedTreerecord class. -
Uses of DerivationTree in com.knezevic.edaf.v3.repr.grammar.eval
Methods in com.knezevic.edaf.v3.repr.grammar.eval with parameters of type DerivationTreeModifier and TypeMethodDescriptiondoubleTreeEvaluator.evaluate(DerivationTree tree, EvaluationContext context) Evaluates tree to numeric output.booleanTreeEvaluator.evaluateBoolean(DerivationTree tree, EvaluationContext context) Evaluates tree to boolean output using numeric thresholding. -
Uses of DerivationTree in com.knezevic.edaf.v3.repr.grammar.model
Classes in com.knezevic.edaf.v3.repr.grammar.model that implement DerivationTreeModifier and TypeClassDescriptionstatic final recordNon-terminal expansion node.static final recordLeaf terminal node.Methods in com.knezevic.edaf.v3.repr.grammar.model that return types with arguments of type DerivationTreeModifier and TypeMethodDescriptionDerivationTree.children()Child nodes.DerivationTree.RuleNode.children()Returns the value of thechildrenrecord component.DerivationTree.TerminalNode.children()Constructor parameters in com.knezevic.edaf.v3.repr.grammar.model with type arguments of type DerivationTreeModifierConstructorDescriptionRuleNode(NonTerminal nonTerminal, ProductionRule productionRule, List<DerivationTree> children, int depth) Immutable constructor. -
Uses of DerivationTree in com.knezevic.edaf.v3.repr.grammar.render
Methods in com.knezevic.edaf.v3.repr.grammar.render with parameters of type DerivationTreeModifier and TypeMethodDescriptionstatic TreeMetrics.SummaryTreeMetrics.summarize(DerivationTree tree) Computes depth, size, and operator usage summary.TreePrinter.toDot(DerivationTree tree) Exports tree as Graphviz DOT graph.TreePrinter.toInfix(DerivationTree tree) Prints tree in readable infix/function form.TreePrinter.toLatex(DerivationTree tree) Prints tree in LaTeX-like mathematical form.TreePrinter.toPrefix(DerivationTree tree) Prints tree in prefix function form. -
Uses of DerivationTree in com.knezevic.edaf.v3.repr.grammar.serialize
Methods in com.knezevic.edaf.v3.repr.grammar.serialize with parameters of type DerivationTreeModifier and TypeMethodDescriptionTreeSerializer.toJson(DerivationTree tree) Converts tree map representation to pretty JSON.TreeSerializer.toMap(DerivationTree tree) Converts tree to nested map suitable for API payloads.