Skip to main content
. 2019 Mar 18;21(3):289. doi: 10.3390/e21030289
Algorithm 1 Fuzzy Simulation for Entropy, FSE, Huang [33]
Step 1. Initialize the numbers of sample points K and integration points N, and a sufficiently small positive number ϵ. Set H=0 and g=0.
Step 2. Randomly generate real numbers uis such that μi(uis)≥ϵ, i=1,2,⋯,n,s=1,2,⋯,K, respectively.
Step 3. Set p=min1≤s≤Kf(us), and q=max1≤s≤Kf(us).
Step 4. Randomly generate r from [p,q].
Step 5. Calculate Hg=−tlnt−(1−t)ln(1−t), where t=Cr{f(ξ1,ξ2,⋯,ξn)=r} is estimated via Equation (42).
Step 6. Set H←H+Hg. If g<N, let g=g+1 and go to Step 4.
Step 7. Return H·(q−p)/N as the estimated value of H[f(ξ1,ξ2,⋯,ξn)].