I found the following interesting as applied to Erlang simulations: http://osmirrors.cerias.purdue.edu/pub/FreeBSD/ports/local-distfiles/olgeni/master_thesis_patterns.pdf -Joseph