mercredi 11 mars 2015

What is the notation for inserting algorithms in scientific papers


I have some papers which describe some computer algorithms. My algorithms have some input, output, static (global) variables, comments ... something like the following algorithm, however I borrowed it from a book about artificial intelligence and I am not sure that is the style for a paper



function SIMPLE-REFLEX-AGENT(percept) returns an action
static: rules, a set of condition-action rules
state← INTERPRET-INPUT(percept)
rule← RULE-MATCH(state, rules)
action← RULE-ACTION[rule]
return action


What is the standard notation to insert such algorithms into a paper?





Aucun commentaire:

Enregistrer un commentaire