infer
Class Partition

java.lang.Object
  extended by infer.Partition
All Implemented Interfaces:
java.lang.Comparable<Partition>

public class Partition
extends java.lang.Object
implements java.lang.Comparable<Partition>

A partition of an MRF. A "partition" is a unit smaller than an MRF component.


Field Summary
 boolean cached
           
 int compID
           
 int id
           
 MRF mrf
           
 int numAtoms
           
 int numIncClauses
           
 int numPins
           
 Component parentComponent
           
 double ramSize
           
 
Constructor Summary
Partition()
           
 
Method Summary
 int compareTo(Partition c)
           
 void discard()
          Discard all data structures to facilitate GC.
 void showStats()
          Show basic stats about this partition.
 double size()
          Get the estimated RAM size of this partition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cached

public boolean cached

compID

public int compID

id

public int id

mrf

public MRF mrf

numAtoms

public int numAtoms

numIncClauses

public int numIncClauses

numPins

public int numPins

parentComponent

public Component parentComponent

ramSize

public double ramSize
Constructor Detail

Partition

public Partition()
Method Detail

compareTo

public int compareTo(Partition c)
Specified by:
compareTo in interface java.lang.Comparable<Partition>

discard

public void discard()
Discard all data structures to facilitate GC.


showStats

public void showStats()
Show basic stats about this partition.


size

public double size()
Get the estimated RAM size of this partition.