Internal Transition Function
function int input st s; replaceable function r input Integer s; input Integer[8] neighbors; output Integer sout; algorithm end r; output st sout; end int;