Input: The single-valued neutrosophic decision matrix ( R i j l ) n × m ( l = 1 , 2 , , z ) , the alternatives is S = { S 1 , S 2 , , S n } , and the distinguish coefficient is ς = 0.5 .

Output: The score function and the accuracy function values of each alternative.

function the score function and the accuracy function values of each alternative ( ( R i j l ) n × m , ς , ρ )

for each DM = 1 z do

function the general decision matrix ( δ i j ) n × m

calculate the aggregated decision matrix ( δ i j ) n × m in Equation (11)

end for

return ( δ i j ) n × m

end function

function the weight of criteria w j

for each criterion j = 1 m do

calculate the arithmetic mean value of the alternative under criteria δ ¯ i

end for

calculate the δ ¯ i in Equation (12)

return δ ¯ i

for each alternative under criterion i , j = 1 ( i = 1 , 2 , , n ; j = 1 , 2 , , m ) , determine the grey relation coefficient τ ( δ ¯ i , δ i j ) do

Calculate the τ ( δ ¯ i , δ i j ) in Equation (13), calculate the grey correlation degree π ( δ ¯ i , δ i j ) in Equation (14), calculate the weight of criteria w j in Equation (15)

end for

return w j

end function

for each alternative i z e r o s ( 1 , n ) do

calculated the aggregated overall values δ i of each alternative in Equation (16), calculated the score function and accuracy function values of each alternative p ( δ i ) and q ( δ i ) in Equation (17)

end for

return p ( δ i ) and q ( δ i )

end function