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

## cve
Class ContextualBeliefNetworkRandom2

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

public class ContextualBeliefNetworkRandom2
extends ContextualBeliefNetwork

Inner Class Summary
`private class` | `ContextualBeliefNetworkRandom2.VarTable`

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

Constructor Summary
`ContextualBeliefNetworkRandom2(int numVars, int numSplits, double probInFactor, double probShared)` Constructs a random contexual belied network.

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`

Constructor Detail

### ContextualBeliefNetworkRandom2

    public ContextualBeliefNetworkRandom2(int numVars,
                                          int numSplits,
                                          double probInFactor,
                                          double probShared)

  Constructs a random contexual belied network.
  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.
    `probShared` - the probability that a variable is in both sides of a slpit, given it is in either.

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