Created
January 24, 2012 01:11
-
-
Save adam-davis/1667126 to your computer and use it in GitHub Desktop.
Ethics are tricky....
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _ETHICALTHEORY_H_ | |
#define _ETHICALTHEORY_H_ | |
#include "Outcome.h" | |
#include "Situation.h" | |
#include "Value.h" | |
#include "Action.h" | |
#include <vector> | |
class EthicalTheory | |
{ | |
public: | |
EthicalTheory(); | |
virtual Action makeDecision(Situation&); | |
std::vector<Action> getPossibleActions(Situation&); | |
virtual int calculateOverallGoodness(Outcome&); | |
private: | |
Value _benefit; | |
Value _harm; | |
Value _freedom; | |
Value _justice; | |
}; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment