10.07.2015 Views

Information Theory, Inference, and Learning ... - Inference Group

Information Theory, Inference, and Learning ... - Inference Group

Information Theory, Inference, and Learning ... - Inference Group

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Copyright Cambridge University Press 2003. On-screen viewing permitted. Printing not permitted. http://www.cambridge.org/0521642981You can buy this book for 30 pounds or $50. See http://www.inference.phy.cam.ac.uk/mackay/itila/ for links.16.1: Counting 243Figure 16.4. A swarm of guerillaswhose connections form a tree.Comm<strong>and</strong>erJim1. Count your number of neighbours, N.2. Keep count of the number of messages you have received from yourneighbours, m, <strong>and</strong> of the values v 1 , v 2 , . . . , v N of each of thosemessages. Let V be the running total of the messages you havereceived.Algorithm 16.5. Message-passingrule-set B.3. If the number of messages you have received, m, is equal to N − 1,then identify the neighbour who has not sent you a message <strong>and</strong> tellthem the number V + 1.4. If the number of messages you have received is equal to N, then:(a) the number V + 1 is the required total.(b) for each neighbour n {say to neighbour n the number V + 1 − v n .}A Figure 16.6. A triangular 41 × 41grid. How many paths are therefrom A to B? One path is shown.B

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!