config.energy | R Documentation |
Compute total energy of a configuration. Assumes node/edge energies are in gRbase format *****GENERALIZE
config.energy(config, edges.mat, one.lgp, two.lgp, ff)
config |
A node configuration (state) vector |
edges.mat |
Matrix of connected node edges |
two.lgp |
Log edge potentials (two-body energies) |
ff |
The feature function |
The function will XXXX
The function will XX
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.