ve
Class FactorReorder

java.lang.Object
  |
  +--ve.Factor
        |
        +--ve.FactorStored
              |
              +--ve.FactorReorder

public class FactorReorder
extends FactorStored

This the the class of factors that are the reordering of other factors. Note that the other operations assume a standard ordering. This class is designed for moving between display formats and the internal format.


Fields inherited from class ve.FactorStored
factorValues
 
Fields inherited from class ve.Factor
BY_MULTIPLYING, BY_SUM_OUT, BY_V_ELIM, BY_V_OBS, FROM_NODE, howCreated
 
Constructor Summary
FactorReorder(Factor f1, Variable[] newOrder)
          constructs a factor with values given by f1 and the order given by newOrder.
 
Methods inherited from class ve.FactorStored
iterator
 
Methods inherited from class ve.Factor
allOnes, contains, display, getName, getVariables, isRedundant, print, print, printVariables, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FactorReorder

public FactorReorder(Factor f1,
                     Variable[] newOrder)
constructs a factor with values given by f1 and the order given by newOrder.
Parameters:
f1 - the factor to be reordered
newOrder - the new ordering of the variables