Beispiel #1
0
        private void EnsureValidated()
        {
            if (!Invalidated)
            {
                return;
            }

            IncidenceMatrix.Clear();
            foreach (var sample in Samples)
            {
                var point = new BinaryPoint(ColorToPoint(sample.Color), sample.Polarity);
                IncidenceMatrix.Add(point);
            }

            Invalidated = false;
        }