treelite
Namespaces | Enumerations | Functions
operator.h File Reference

Define enum type Operator. More...

#include <cstdint>
#include <string>
Include dependency graph for operator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 treelite
 

Enumerations

enum class  treelite::Operator : std::int8_t {
  treelite::kNone , treelite::kEQ , treelite::kLT , treelite::kLE ,
  treelite::kGT , treelite::kGE
}
 Type of comparison operators used in numerical test nodes. More...
 

Functions

std::string treelite::OperatorToString (Operator type)
 Get string representation of Operator. More...
 
Operator treelite::OperatorFromString (std::string const &name)
 Get Operator from string. More...
 

Detailed Description

Define enum type Operator.

Copyright (c) 2023 by Contributors

Author
Hyunsu Cho