我是管理科学领域的博士生。在最近的一篇论文中,我的主管要求我使用伪代码来描述我的算法。
这是我第一次听到“伪代码”一词。我该如何学习伪代码?希望得到经验丰富的老年人的指导,谢谢!
[人工智能:一种现代方法是我使用我的AI类的书,其中包含成千上万的pseudocode
用于算法。
本书中的示例伪代码:
function Table-Driven-Agent(percept) returns an action
persistent: percepts, a sequence, initially empty
table, a table of actions, indexed by percept sequences, initially fully specified
apped percept to the end of percepts
action <- Lookup(percepts, table)
return action