config.energy: Energy function for a configuration of states

View source: R/energy_util.R

config.energyR Documentation

Energy function for a configuration of states

Description

Compute total energy of a configuration. Assumes node/edge energies are in gRbase format *****GENERALIZE

Usage

config.energy(config, edges.mat, one.lgp, two.lgp, ff)

Arguments

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

Details

The function will XXXX

Value

The function will XX


npetraco/CRFutil documentation built on Nov. 23, 2023, 11:30 a.m.