Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ve
Class FactorExpand

    java.lang.Object
      |
      +--ve.Factor
            |
            +--ve.FactorExpand

public class FactorExpand
extends Factor

This the the class of factors that extend other factors to include more variables. It is used in `FactorTimes`. The values can be enumerated as needed using the `EltsIterator`.

Fields inherited from class ve.Factor
`BY_MULTIPLYING, BY_SUM_OUT, BY_V_ELIM, BY_V_OBS, FROM_NODE, howCreated`

Constructor Summary
`FactorExpand(Factor f1, Variable[] vars)` constructs a factor with the given variables.

Method Summary
`EltsIterator` | `iterator()` Returns an iterator over the values of the factor.

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

### FactorExpand

    public FactorExpand(Factor f1,
                        Variable[] vars)

  constructs a factor with the given variables.
  Parameters:
    `f1` - the factor to be expanded
    `vars` - the list of variables for the resulting factor

Method Detail

### iterator

    public EltsIterator iterator()

  Returns an iterator over the values of the factor. This code is based on the Iterator code in java.util.AbstractList.
  Overrides:
    `iterator` in class `Factor`

Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD