| BlocksGibbs | Generate Random Samples from a Potts Model Using the Checkerboard Idea |
| getBlocks | Get Blocks of a Graph |
| getConfs | Generate Configurations of a Graph |
| getEdges | Get Edges of a Graph |
| getNC | Calculate the Normalizing Constant of a Simple Potts Model |
| getNeighbors | Get Neighbors of All Vertices of a Graph |
| getPatches | Get Patches of a Graph |
| getWeights | Get All Weights of a Graph |
| rPotts1 | Generate One Random Sample from a Potts Model |
| SW | Generate Random Samples from a Compound Potts Model by the Swendsen-Wang Algorithm |
| Wolff | Generate Random Samples from a Compound Potts Model by the Wolff Algorithm |