메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
NormaliseProbabilities ( double probs ) : void |
public DiscreteDistribution ( |
||
copyFrom | ||
리턴 | System |
public DiscreteDistribution ( double probArr ) : System | ||
probArr | double | |
리턴 | System |
public DiscreteDistribution ( double probArr, int labelArr ) : System | ||
probArr | double | |
labelArr | int | |
리턴 | System |
public RemoveOutcome ( int labelId ) : |
||
labelId | int | |
리턴 |