A method for pre-tabulating sub-networks. This method (1) generates a sub-network that performs a function (605), (2) generates a parameter based on this function (610), and (3) stores the sub-network in a storage structure based on the generated parameters (635).