Node.cpp 946 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2021 Thomas A. R. Purcell

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at

//     http://www.apache.org/licenses/LICENSE-2.0

// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
Thomas Purcell's avatar
Thomas Purcell committed
14
#include "feature_creation/node/Node.hpp"
Thomas Purcell's avatar
Thomas Purcell committed
15

Thomas Purcell's avatar
Thomas Purcell committed
16
17
18
Node::Node()
{}

19
Node::Node(const unsigned long int feat_ind, const int n_samp, const int n_test_samp) :
20
    _n_test_samp(n_test_samp),
Thomas Purcell's avatar
Thomas Purcell committed
21
    _n_samp(n_samp),
22
    _feat_ind(feat_ind),
23
24
25
    _arr_ind(feat_ind),
    _d_mat_ind(-1),
    _selected(false)
Thomas Purcell's avatar
Thomas Purcell committed
26
27
{}

Thomas Purcell's avatar
Thomas Purcell committed
28
Node::~Node()
29
30
{}

Thomas Purcell's avatar
Thomas Purcell committed
31
BOOST_SERIALIZATION_ASSUME_ABSTRACT(Node)
Thomas Purcell's avatar
Thomas Purcell committed
32