Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are the samples correct? #60

Open
danielmitre opened this issue Feb 28, 2023 · 0 comments
Open

Are the samples correct? #60

danielmitre opened this issue Feb 28, 2023 · 0 comments

Comments

@danielmitre
Copy link
Contributor

I was unable to run the samples myself, but as I'm working on a Rust implementation and my output didn't match the values on the outputs folder. I also implemented the algorithm in different ways in Google Sheets and they matched my implementation.

What I expected (yours)

image

What I got (my implementation)

image

Guess 1
I may have misunderstood the criterias, here's what I got from reading the .input parser:

  • erosao: Non-beneficial weight 2 criteria. Linear function with p=5 preference function.
  • infpop: Non-beneficial weight 1 criteria. Linear function with p=500 preference function.
  • prod: Beneficial weight 4 criteria. Linear function with p=7 preference function.
  • rhcp: Beneficial weight 3 criteria. Linear function with p=2.5 preference function.

Guess 2
I may have misunderstood the input/output files.

Guess 3
My implementations may be wrong as I didn't find any Promethee calculator to test against, although it matched the algorithm presented in this video (https://youtu.be/xe2XgGrI0Sg - after correcting a mistake they did).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant