Synthesis of tiled patterns using factor graphs
An Introduction to Factor Graphs