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.


Inner classes inherited from class ve.FactorStored
FactorStored.Itr
 
Fields inherited from class ve.FactorStored
factorValues
 
Fields inherited from class ve.Factor
BY_ASSIGN, BY_CPT, BY_DETERMINISTIC, BY_EXPANDING, BY_GENRULE, BY_MAXIMIZING, BY_MULTIPLYING, BY_NORMALIZING, BY_OBSERVED, BY_PLUS, BY_REORDERING, BY_SAVEIT, BY_SUM_OUT, BY_UNIFORM, BY_UPDATABLE, BY_V_ELIM, howCreatedVal, savingForTracing, thesize, variables
 
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, getSavingForTracing, getVariables, howCreated, isRedundant, isRedundant, print, print, printVariables, setSavingForTracing, size, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, 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