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

## cve
Class ContextualBeliefNetworkRandom3

    java.lang.Object
      |
      +--cve.ContextualBeliefNetwork
            |
            +--cve.ContextualBeliefNetworkRandom3

public class ContextualBeliefNetworkRandom3
extends ContextualBeliefNetwork

Inner Class Summary
`private class` | `ContextualBeliefNetworkRandom3.VarCon`

Field Summary
`private int` | `numVarsSplitOn`
`private Variable[]` | `varsSplitOn`

Fields inherited from class cve.ContextualBeliefNetwork
`maxContextSize, maxDomainSize, maxFactorSize, numVariables, rules, stringToVar, variables`

Constructor Summary
`ContextualBeliefNetworkRandom3(int numVars, int numSplits, double probInFactor)` Constructs a random contexual belied network, where we try to minimise the number of variables in splits.

Method Summary
`private void` | `shuffleVars()`

Methods inherited from class cve.ContextualBeliefNetwork
`add, getNumSplitVars, getNumVariables, getRules, getStringToVar, getVariables, print, printBrief`

Methods inherited from class java.lang.Object
`, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait`

Field Detail

### varsSplitOn

    private Variable[] varsSplitOn

### numVarsSplitOn

    private int numVarsSplitOn

Constructor Detail

### ContextualBeliefNetworkRandom3

    public ContextualBeliefNetworkRandom3(int numVars,
                                          int numSplits,
                                          double probInFactor)

  Constructs a random contexual belied network, where we try to minimise the number of variables in splits.
  Parameters:
    `numVars` - the number of variables in the CBN
    `numSplits` - the numberof extra rules = the number of splits
    `probInFactor` - the probability that each remaining factor is in the resulting factor.

Method Detail

### shuffleVars

    private void shuffleVars()

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