public void set(double probability, params bool [] values)
{
if (values.Length != variableNames.Count)
{
throw new ArgumentOutOfRangeException(
"Invalid number of values, must = # of Random Variables in distribution:"
+ variableNames.Count);
}
rows.Add(new Row(probability, this, values));
}