Skip to main content

feedback

Function feedback 

Source
pub fn feedback(code: &str, tables: bool) -> (String, String)
Expand description

Kernel for one step of a feedback node: update(pos, px) from the agent’s code, with the previous state (T0) and up to four placed inputs (T1..T4), and the code’s constant tables after the params when it has them. Returns (key, body).