Control table: Difference between revisions

Content deleted Content added
Examples: simplify examples
Decision table: a control table is definitely _not_ a truth table
Line 56:
 
===Decision table===
Often, a control table isimplements a [[truthdecision table]] orwhich an implementation oflike a [[decisioncontrol table]] or a [[tree (data structure)|tree]] of decision tables. The tables contains (often implied) [[propositional formula |propositions]], together withand one or more associated actions. The actions are usually performed by generic or custom-built [[subroutine]]s that are called by an interpreter. The interpreter, a [[virtual machine]], executes the control table entries and thus provides a higher level of [[abstraction (computer science)|abstraction]] than the interpreter.
 
A control table can act like a [[switch statement]] or more generally as a nested [[if-then-else]] construct that includes [[logical predicate]]s (using [[Boolean algebra (logic)|boolean]] style [[logical conjunction |AND]]/[[logical disjunction |OR]] conditions) for each case. Such as control table provides for a language-independent implementation of what otherwise is a language-dependent construct. The table embodies the [[essence]] of a program; stripped of programming language syntax and platform dependent aspects; condensed to data and implied logic. The meaning of the table includes implied operations instead of being explicit as in a more typical a [[programming paradigm]].