D
D
developer0072019-04-04 10:17:05
Programming
developer007, 2019-04-04 10:17:05

Authority in expert opinion?

There are three experts and they have authority:
Expert #1 - 1weight
Expert #2 - 1weight
Expert #3 - 0.5weight
if Expert #1 and Expert #2 give the same answer, then their opinion will be accepted as true. Opinion #3 will be ignored.
if Expert #1 and Expert #2 say a different answer, and #3 says the same answer as #1, then opinion #1 #3 will be true
if Expert #3 and Expert #2 say a different answer, and #1 says nothing, there will be uncertainty.
how to code it? yes, you can do a bunch of ifs, but I might have a lot of experts.
maybe you can google it somehow and there will be a super cool algorithm with a formula?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2019-04-04
@developer007

The sum of the expert weights for each of the available answer options.
The answer with the maximum amount is the solution. If the answers with the maximum sum of weights are greater than 1, then the situation is uncertain.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question