treelite
optable.cc
Go to the documentation of this file.
1 
8 #include <treelite/base.h>
9 
10 namespace treelite {
11 
12 const std::unordered_map<std::string, Operator> optable{
13  {"==", Operator::kEQ},
14  {"<", Operator::kLT},
15  {"<=", Operator::kLE},
16  {">", Operator::kGT},
17  {">=", Operator::kGE}
18 };
19 
20 } // namespace treelite
const std::unordered_map< std::string, Operator > optable
conversion table from string to operator, defined in optable.cc
Definition: optable.cc:12
defines configuration macros of treelite