結果 : how is state represented in algorithm