numl.Supervised.NaiveBayes.NaiveBayesGenerator.LabelIds C# (CSharp) Méthode

LabelIds() private méthode

private LabelIds ( Measure m ) : void
m Measure
Résultat void
        private void LabelIds(Measure m)
        {
            m.Id = ++_vertexId;
            if (m.Probabilities != null)
            {
                foreach (var s in m.Probabilities)
                    s.Id = ++_vertexId;
                foreach (var s in m.Probabilities)
                    if (s.Conditionals != null)
                        foreach (var measure in s.Conditionals)
                            LabelIds(measure);
            }
        }