Click here to Skip to main content
15,894,720 members
Articles / Programming Languages / C# 4.0

Process Performance Determination in C#

Rate me:
Please Sign up or sign in to vote.
3.93/5 (8 votes)
14 Jun 2012CPOL2 min read 24.8K   233   14  
The program presented here provides a simple way to obtain process performance through DPMO.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProcessPreformance
{
    /// <summary>
    /// Normal probabilities Result class
    /// </summary>
    public class NormalResult
    {
        /// <summary>
        /// Default constructor
        /// </summary>
        public NormalResult() { }
        /// <summary>
        /// cdf
        /// </summary>
        public double cdf;        
    }

    /// <summary>
    /// Determine Normal probabilities
    /// </summary>
    public class Normal
    {
        private double a1 = 0.254829592;
        private double a2 = -0.284496736;
        private double a3 = 1.421413741;
        private double a4 = -1.453152027;
        private double a5 = 1.061405429;
        private double p = 0.3275911;

        /// <summary>
        /// Normal Result
        /// </summary>
        public NormalResult Result = new NormalResult();

        #region Constructors
        /// <summary>
        /// Process performace  from DPMO constructor
        /// </summary>
        public Normal() { } //default empty constructor

        #endregion //Constructors

    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Foundasoft.com
Malaysia Malaysia
Consultant

Comments and Discussions