-
Notifications
You must be signed in to change notification settings - Fork 0
/
Node.cxx
29 lines (21 loc) · 966 Bytes
/
Node.cxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
///////////////////////////////////////////////////////////////////////////////
// //
// TreeSearch::Node //
// //
///////////////////////////////////////////////////////////////////////////////
#include "Node.h"
#include <iostream>
using namespace std;
namespace TreeSearch {
//_____________________________________________________________________________
void NodeDescriptor::Print() const
{
// Print bit contents of the pattern of this NodeDescriptor
cout << "(" << (UInt_t)depth << "/" << (mirrored ? "-" : "+") << ") ";
for( UInt_t i=0; i<link->GetPattern()->GetNbits(); i++ ) {
cout << (*this)[i] << " ";
}
cout << endl;
}
///////////////////////////////////////////////////////////////////////////////
} // end namespace TreeSearch