Exemple #1
0
        private ClusteredDataObject CreateReductDataObject(ClusteredDataObject clusteredDataObject)
        {
            var reductDataObject = new ClusteredDataObject
            {
                Decision = clusteredDataObject.Decision
            };

            for (var i = 0; i < clusteredDataObject.Arguments.Count; i++)
            {
                if (Subset.Contains(i))
                {
                    reductDataObject.Arguments.Add(clusteredDataObject.Arguments[i]);
                }
            }
            return(reductDataObject);
        }