AIMA.Probability.FullJointDistributionModel.FullJointDistributionModel C# (CSharp) Метод

FullJointDistributionModel() публичный Метод

public FullJointDistributionModel ( double values ) : System
values double
Результат System
        public FullJointDistributionModel(double[] values, params RandomVariable[] vars)
        {
            if (null == vars)
            {
                throw new ArgumentException(
                    "Random Variables describing the model's representation of the World need to be specified.");
            }

            distribution = new ProbabilityTable(values, vars);

            representation = new Set<RandomVariable>();
            for (int i = 0; i < vars.Length; i++)
            {
                representation.add(vars[i]);
            }
            //representation = Collections.unmodifiableSet(representation);
        }