Method | Description | |
---|---|---|
DiscreteDistribution ( |
Copy constructor.
|
|
DiscreteDistribution ( double probArr ) : System |
Construct the layout with provided probabilities. The provided probabilites do not have to add up to 1.0 as we implicitly normalise them when using the layout.
|
|
DiscreteDistribution ( double probArr, int labelArr ) : System |
Construct the layout with provided probabilities. The provided probabilites do not have to add up to 1.0 as we implicitly normalise them when using the layout.
|
|
RemoveOutcome ( int labelId ) : |
Remove the specified outcome from the set of probabilities and return as a new DiscreteDistribution object.
|
Method | Description | |
---|---|---|
NormaliseProbabilities ( double probs ) : void |
public DiscreteDistribution ( |
||
copyFrom | ||
return | System |
public DiscreteDistribution ( double probArr ) : System | ||
probArr | double | |
return | System |
public DiscreteDistribution ( double probArr, int labelArr ) : System | ||
probArr | double | |
labelArr | int | |
return | System |
public RemoveOutcome ( int labelId ) : |
||
labelId | int | |
return |