ATLAS Offline Software
Loading...
Searching...
No Matches
NodeImpl.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include "MVAUtils/NodeImpl.h"
6#include <iostream>
7
8using namespace MVAUtils;
9
10
12{
13 std::cout << " Variable: " << int(m_var) << ", Cut: " << m_cut
14 << " (index = " << index << ")" << std::endl;
15}
16
17
19{
20 std::cout << " Variable: " << int(m_var) << ", Cut: " << m_cut
21 << " (index = " << index << ")" << std::endl;
22}
23
24
26{
27 std::cout << " Variable: " << int(m_var) << ", Cut: " << m_cut << ", DefaultLeft: " << (int)m_default_left
28 << " (index = " << index << ")" << std::endl;
29}
30
32{
33 std::cout << " Variable: " << int(m_var) << ", Cut: " << m_cut << ", DefaultLeft: " << (int)m_default_left
34 << " (index = " << index << ")" << std::endl;
35}
void Print(index_t index) const
Definition NodeImpl.cxx:18
float m_cut
cut value for internal nodes or response for leaf nodes
Definition NodeImpl.h:115
var_t m_var
index of the variable to cut for internal nodes, -1 for leaf nodes
Definition NodeImpl.h:117
int8_t m_default_left
Definition NodeImpl.h:153
var_t m_var
index of the variable to cut for internal nodes, -1 for leaf nodes
Definition NodeImpl.h:152
void Print(index_t index) const
Definition NodeImpl.cxx:25
float m_cut
cut value for internal nodes or response for leaf nodes
Definition NodeImpl.h:150
var_t m_var
index of the variable to cut for internal nodes, -1 for leaf nodes
Definition NodeImpl.h:74
float m_cut
cut value for internal nodes or response for leaf nodes
Definition NodeImpl.h:72
void Print(index_t index) const
For debugging only: print the node values.
Definition NodeImpl.cxx:11
void Print(index_t index) const
Definition NodeImpl.cxx:31
int32_t index_t
The index type of the node in the vector.
Definition index.py:1