Mattias Fagerlund: https://lotsacode.wordpress.com/2010/09/14/sharprbm-restricted-boltzmann-machines-in-c-net/#comments Nykamp DQ, Undirected graph definition, from Math Insight: http://mathinsight.org/definition/undirected_graph