#include <vector>
int
main(int, char *[])
{
DecisionRuleType::Pointer decisionRule = DecisionRuleType::New();
DecisionRuleType::MembershipVectorType discriminantScores;
discriminantScores.push_back(0.1);
discriminantScores.push_back(0.3);
discriminantScores.push_back(0.6);
std::cout << "MaximumDecisionRule: The index of the chosen = "
<< decisionRule->Evaluate(discriminantScores) << std::endl;
return EXIT_SUCCESS;
}