Skip to content

Commit e0acd51

Browse files
authored
Change license to MIT (#172)
1 parent 9c7bf3b commit e0acd51

File tree

7 files changed

+27
-723
lines changed

7 files changed

+27
-723
lines changed

COPYING

Lines changed: 0 additions & 675 deletions
This file was deleted.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) policytree contributors.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

r-package/policytree/DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Description: Learn optimal policies via doubly robust empirical
1414
a shallow decision tree that is globally (or close to) optimal.
1515
Depends:
1616
R (>= 3.5.0)
17-
License: GPL-3
17+
License: MIT + file LICENSE
1818
Encoding: UTF-8
1919
Suggests:
2020
testthat (>= 3.0.4),

r-package/policytree/LICENSE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
YEAR: 2024
2+
COPYRIGHT HOLDER: policytree authors

r-package/policytree/src/Rcppbindings.cpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*-------------------------------------------------------------------------------
2-
This file is part of policytree.
3-
4-
policytree is free software: you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation, either version 3 of the License, or
7-
(at your option) any later version.
8-
9-
policytree is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
13-
14-
You should have received a copy of the GNU General Public License
15-
along with policytree. If not, see <http://www.gnu.org/licenses/>.
16-
#-------------------------------------------------------------------------------*/
171
#include <queue>
182
#include <Rcpp.h>
193

r-package/policytree/src/tree_search.cpp

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
/*-------------------------------------------------------------------------------
2-
This file is part of policytree.
1+
// Policy Tree (policytree).
2+
// https://github.com/grf-labs/policytree
3+
// Distributed under the MIT License.
34

4-
policytree is free software: you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation, either version 3 of the License, or
7-
(at your option) any later version.
8-
9-
policytree is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
13-
14-
You should have received a copy of the GNU General Public License
15-
along with policytree. If not, see <http://www.gnu.org/licenses/>.
16-
#-------------------------------------------------------------------------------*/
175
#include <functional>
186
#include <boost/container/flat_set.hpp>
197

r-package/policytree/src/tree_search.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*-------------------------------------------------------------------------------
2-
This file is part of policytree.
3-
4-
policytree is free software: you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation, either version 3 of the License, or
7-
(at your option) any later version.
8-
9-
policytree is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
13-
14-
You should have received a copy of the GNU General Public License
15-
along with policytree. If not, see <http://www.gnu.org/licenses/>.
16-
#-------------------------------------------------------------------------------*/
171
#ifndef TREE_SEARCH_H
182
#define TREE_SEARCH_H
193

0 commit comments

Comments
 (0)