![]() |
AmpGen 2.1
|
Public Member Functions | |
| Decision (const unsigned int &index, const double &value, std::shared_ptr< INode > left=nullptr, std::shared_ptr< INode > right=nullptr) | |
| const EndNode * | operator() (const double *evt) const override |
| void | serialize (std::ostream &stream) const override |
| void | setChildren (std::shared_ptr< INode > l, std::shared_ptr< INode > r) |
| void | visit (const std::function< void(INode *)> &visit_function) override |
Public Attributes | |
| INode * | m_parent = {nullptr} |
Friends | |
| class | BinDT |
| AmpGen::BinDT::Decision::Decision | ( | const unsigned int & | index, |
| const double & | value, | ||
| std::shared_ptr< INode > | left = nullptr, | ||
| std::shared_ptr< INode > | right = nullptr ) |
|
overridevirtual |
Implements AmpGen::BinDT::INode.
|
overridevirtual |
Implements AmpGen::BinDT::INode.
| void AmpGen::BinDT::Decision::setChildren | ( | std::shared_ptr< INode > | l, |
| std::shared_ptr< INode > | r ) |
|
overridevirtual |
Implements AmpGen::BinDT::INode.