A C++ implementation of decision-making criterion based on profit matrices.
This project includes methods for evaluating decisions using the Minimax, Savage, and Hurwicz criterion.
This project aims to provide a clear and efficient way to evaluate different decision-making strategies based on given profit matrices.
The implemented criterion help in determining optimal solutions in scenarios with uncertain outcomes.
- Minimax (MM): Finds the maximum of the minimum profits, representing the best worst-case scenario.
- Savage (S): Adjusts profits by subtracting the maximum value of each column, then finds the minimum of the maximum adjusted profits.
- Hurwicz (HW): Computes a weighted average of the minimum and maximum outcomes based on a specified coefficient.
To build and run this project, you need a C++ compiler that supports C++23.
You can clone the repository and compile it using the following commands:
git clone https://github.com/seigtm/decision_making_criterion.git
cd ./decision_making_criterion
# Compile the code (adjust command based on your setup)
clang++ ./decision_criterion.cpp -o ./decision_criterion.o -std=c++23
After compiling, you can run the executable:
./decision_criterion.o
The program will output the results for each decision-making criterion based on the predefined profit matrix.
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to modify the content to fit your specific needs and preferences!