tuffy.infer
Class InferComponent

java.lang.Object
  extended by tuffy.infer.InferComponent

public class InferComponent
extends java.lang.Object

Performing inference on one MRF component.


Constructor Summary
InferComponent(Component comp)
           
 
Method Summary
 Component getComponent()
           
 double getCost()
           
 void inferMAP(int totalTries, int totalFlipsPerTry)
          Run partition-aware MAP inference with the Gauss-Seidel scheme.
 void inferMarginal(int totalSamples, int totalFlipsPerSample)
          Run partition-aware marginal inference with the Gauss-Seidel scheme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InferComponent

public InferComponent(Component comp)
Method Detail

getComponent

public Component getComponent()

getCost

public double getCost()

inferMAP

public void inferMAP(int totalTries,
                     int totalFlipsPerTry)
Run partition-aware MAP inference with the Gauss-Seidel scheme.


inferMarginal

public void inferMarginal(int totalSamples,
                          int totalFlipsPerSample)
Run partition-aware marginal inference with the Gauss-Seidel scheme.