code wiki / _hdl_build / nx_autonomy_selfgrow.nx

nx_autonomy_selfgrow.nx

buildroot/runtime/_hdl_build/nx_autonomy_selfgrow.nx

8693 B112 linesdepth 4pulls 10 transitivereach 0 importersview sourcekind tooltopic autonomy
docsdependenciesstructsconstsfunctions

about

nx_autonomy_selfgrow.nx -- Automatically detects and registers new grammatical primitives from data without a fixed tutor pool.

dependencies 6 imports · 0 importers

nx_gate_gn.nx nx_gate_base.nx nx_synth_fit.nx nx_cap_register.nx nx_capreg_librarian.nx nx_syscalls.nx nx_autonomy_selfgrow.nx

imports: nx_gate_gn.nxnx_gate_base.nxnx_synth_fit.nxnx_cap_register.nxnx_capreg_librarian.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gw sys_write sys_mmap selfgrow_powsum sys_mmap ↻ sf_powsum sf_pow_i selfgrow_data sg_lib_solves sf_keep sys_mmap ↻ sf_fit sys_mmap ↻ sf_rand_coef sf_merr sf_lcg sf_model sf_powsum ↻ sf_keep ↻ sg_reg_emitter ig_engineer ig_council ig_decision cr_can_register sml_check_cap sml_layer_valid sml_status_valid cl_next_idx cl_max_idx sys_mmap ↻ sys_read_file cl_is_entry cl_parse_int cl_line_end cl_register_dual sys_openat_append cl_w sys_write ↻ cl_wn

structs

none

consts

23const SG_KMAX: i64 = 24 // the OPEN-ENDED search bound (in practice degree-detected from data; finite for the gate). NOT a fixed pool of shapes.

functions

27func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
29func sg_lib_solves(known: *i64, kn: i64, xs: *i64, ys: *i64, n: i64, hy0: i64, hy1: i64) -> i64
35func sg_reg_emitter(desc: *u8) -> i64
50func selfgrow_data(xs: *i64, ys: *i64, n: i64, hy0: i64, hy1: i64, known: *i64, knb: *i64, kmax: i64, desc: *u8) -> i64
65func selfgrow_powsum(k_true: i64, known: *i64, knb: *i64, kmax: i64, desc: *u8) -> i64
71func main() -> i64