Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ASTOpts<OP, T>

Type parameters

  • OP

  • T

Hierarchy

Index

Properties

maxDepth

maxDepth: number

ops

ops: OpGenSpec<ASTNode<OP, T>, OP>[]

Operator node generators.

probMutate

probMutate: number

Per-gene mutation probability. MUST be < 1 for ASTOpts to avoid infinite tree expansion.

Optional rnd

rnd: IRandom

Possibly seeded PRNG instance to be used for AST generation / editing.

defaultvalue

SYSTEM

terminal

terminal: Fn<IRandom, T>

Terminal node generator. If probabilistic, the given PRNG MUST be used for repeatable results.

Generated using TypeDoc