cc.mallet.grmm.inference.gbp
Class ClusterVariationalRegionGenerator.Grid2x2RegionComputer

java.lang.Object
  extended by cc.mallet.grmm.inference.gbp.ClusterVariationalRegionGenerator.Grid2x2RegionComputer
All Implemented Interfaces:
ClusterVariationalRegionGenerator.BaseRegionComputer
Enclosing class:
ClusterVariationalRegionGenerator

public static class ClusterVariationalRegionGenerator.Grid2x2RegionComputer
extends java.lang.Object
implements ClusterVariationalRegionGenerator.BaseRegionComputer


Constructor Summary
ClusterVariationalRegionGenerator.Grid2x2RegionComputer()
           
 
Method Summary
 java.util.List computeBaseRegions(FactorGraph mdl)
          Returns a list of top-level regions for use in the cluster variational method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterVariationalRegionGenerator.Grid2x2RegionComputer

public ClusterVariationalRegionGenerator.Grid2x2RegionComputer()
Method Detail

computeBaseRegions

public java.util.List computeBaseRegions(FactorGraph mdl)
Description copied from interface: ClusterVariationalRegionGenerator.BaseRegionComputer
Returns a list of top-level regions for use in the cluster variational method.

Specified by:
computeBaseRegions in interface ClusterVariationalRegionGenerator.BaseRegionComputer
Parameters:
mdl - An undirected model.
Returns:
A list of regions. No region in the list may subsume another.