diff --git a/LICENSE b/LICENSE index 0c8ddae..d347c85 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2025 Matthew Pratola and John Yannotty +Copyright (c) 2025 Matthew T. Pratola and John Yannotty Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 189ccfb..d362799 100644 --- a/README.md +++ b/README.md @@ -1,142 +1,58 @@ -# Open Bayesian Trees Project -This repository includes new developments with Bayesian Additive Regression Trees and extends the original OpenBT repository created by Matt Pratola (https://bitbucket.org/mpratola/openbt/src/master/). -Such extensions include Bayesian Model Mixing and Bayesian Calibration. -All of the Bayesian Tree code is written in C++. User interfaces constructed in R and Python allow one to easily run the software. -The BART Model Mixing software has been implemented in the [Taweret](https://github.com/bandframework/Taweret/tree/main) Python package in conjunction with the [BAND](https://bandframework.github.io/) collaboration. - - -# Installation -The heart of OpenBT is a set of C++ tools that can be used directly via -the command line or indirectly through the Python and R packages, which wrap -them. Typically these tools are built with an implementation of the Message -Passing Interface (MPI) such as [Open MPI](https://www.open-mpi.org) or -[MPICH](https://www.mpich.org) to enable distributed parallelization of -computations. In particular, the Python wrapper package is always built with -MPI support. - -The software and its distribution scheme have been developed to allow users to -use OpenBT with the MPI installation of their choice. For instance, it -can be built with MPI installations on leadership class platforms and clusters -that were installed by experts and optimized for their specific platform. As a -result, however, the software is not distributed as prebuilt binaries or wheels, -but rather must be built for each case with the compiler suite and matching MPI -implementation provided by the user. - -## Requirements -Before building and installing the Python package, users -must provide -* a compiler suite that includes a C++ compiler that supports the C++14 - standard, -* an MPI installation that is compatible with the compiler suite, and -* optionally the [Eigen software package](https://gitlab.com/libeigen/eigen). - -Note that if installing MPI using a package manager, related developer library -packages such as ``libopenmpi-dev`` or ``libmpich-dev`` might need to be -installed in addition to the base MPI packages such as ``openmpi-bin`` or -``mpich``. - -To build and install just the bare C++ tools, users must provide in addition to -the above -* the [Meson build system](https://mesonbuild.com) and its prerequisites such as - Python 3 and [ninja](https://ninja-build.org). - -While both Meson and ninja are used internally to build the Python package, they -are installed automatically just for building the package. - -The Meson build system is setup to automatically detect the compiler suite and -MPI installation to use. If Eigen already exists in the system and Meson can -find it, then Meson will use it for the build. Otherwise, Meson will -automatically obtain a copy of Eigen for internal use. - -We presently test OpenBT with both Open MPI and MPICH. In addition, we -have successfully tested with the Intel MPI implementation and have used the -Python package with MPI implementations installed -* via package managers such as Ubuntu's Advanced Packaging Tool (`apt`) and - [homebrew](https://brew.sh) on macOS; -* by experts on clusters and that are available as modules; and -* with `conda` from the prebuilt conda forge - [openmpi](https://anaconda.org/conda-forge/openmpi) package. - -## Meson installation -The Meson build system documentation suggests installing Meson via package -manager when possible. Please refer to that documentation for detailed and -up-to-date installation information. - -If Meson cannot be installed by package manager or the manager's version is too -old, the following is contrary to Meson suggestions but has been used -successfully to install Meson with Python into a dedicated virtual environment -as well as to install `meson` in the `PATH` for use without needing to activate -that virtual environment. -``` -$ /path/to/target/python -m venv ~/local/venv/meson -$ . ~/local/venv/meson/bin/activate -$ which python -$ python -m pip install --upgrade pip -$ python -m pip install meson -$ python -m pip list -$ ln -s ~/local/venv/meson/bin/meson ~/local/bin - -$ deactivate -$ which meson -$ meson --version -``` -Note that this `meson` virtual environment is for installing **just** the Meson -build system. Attempts to install `openbt` into this virtual environment -will likely fail with an error that the `mesonbuild` module cannot be found. - -## Python package -The OpenBT Python package is **not** currently distributed on PyPI since the -[PyPI OpenBT package](https://pypi.org/project/openbt/) already exists. This -package will eventually be transferred to this project so that distribution of -modern versions of this package will be enabled by PyPI under the name `openbt`. - - +# OpenBT -Instead the package should be built and installed from a clone of this repository with -``` -$ cd /path/to/OpenBT/openbt_pypkg -$ python -m pip install . -``` -Developers can install in developer/editable mode with verbose logging of the -build process and installation with -``` -$ cd /path/to/OpenBT/openbt_pypkg -$ python -m pip install -v -e . -``` -In this latter case, the command line tools are built automatically and -installed at `/path/to/OpenBT/openbt_pypkg/src/openbt/bin`. The -Python package is hardcoded to use those tools so that the existence of another -set of tools in the system and in `PATH` should not cause issues. +TODO: Copy info from landing page of sphinx docs here. -OpenBT package installations can be minimally tested with -``` -$ python ->>> import openbt ->>> openbt.__version__ -'' ->>> openbt.test() -``` +### Repository +TODO: Add general badges + +### Python +TODO: Add Python-specific badges + +## License & Copyright -## C++ library & command line tool interface -Developers and C++ users can directly build and install the command line tools, -an OpenBT library, and library tests with `tools/build_openbt_clt.sh`. -Note that these do **not** need to be built in order to use the Python package. +TODO: Copy license & copyright info from landing page of sphinx docs here -## R package -**TODO**: Needs to be written based on current state of affairs. +## Support -# Examples +To -The examples from the article "Model Mixing Using Bayesian Additive Regression Trees" are reproduced in the jupyter notebook BART_BMM_Technometrics.ipynb. This notebook can be run locally or in a virtual environment such as google colab. +* report potential problems with OpenBT or any of the packages derived from it, +* propose a change, or +* request a new feature, + +please check if a related [Issue](https://github.com/bandframework/OpenBT/issues) +already exists before creating a new issue. For all other communication, please +send an email to the OpenBT development team + + * TODO: Matt's contact info + * TODO: John's contact info + +## Documentation + +[User and Developer Guides](https://openbt.readthedocs.io) are hosted on +ReadTheDocs. Please refer to those documents for information regarding +examples. + +## Installation & Testing + +Refer to the getting started sections in the User Guide related to the tool or +package that you intend to use. + +## Contributing to IBCDFO + +Contributions are welcome in a variety of forms; see +[Contributing](https://openbt.readthedocs.io/en/latest/contributing.html) in the +Developer Guide. + +## Cite OpenBT + +``` +@techreport{openbt2026, + author = {Matt Pratola and John Yannotty}, + title = {{OpenBT 1.2.0} Users Manual}, + institution = {TBD}, + number = {Version 1.2.0}, + year = {2026}, + url = {https://openbt.readthedocs.io/} +} +``` diff --git a/docs/contributing.rst b/docs/contributing.rst index 8292b49..596c830 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -2,5 +2,10 @@ Contributing ============ General Information ------------------- -.. todo:: - Sarthak to write this + The Open Bayesian Trees (OpenBT) project evolved from an initial C + MPI codebase written from scratch in 2010 through two subsequent ground-up rewrites culminating in the current C++ codebase with R and Python wrappers. Matt Pratola (mpratola@iu.edu) has served as the primary author and architect for OpenBT. John Yannotty (jcyannotty@gmail.com) made significant contributions to the project including BART-based model mixing, the Random Path BART (RPBART) model and RPBART-based model mixing, integrating the Eigen library, and writing Python wrapper code. Jared O'Neal (joneal@anl.gov) led the move from Autotools to Meson and built out the various Github and Python integrations as part of folding OpenBT into BAND. Akira Horiguchi (ahoriguchi@ucdavis.edu) made contributions with Sobol sensitivity indices and Shapley indices as well as Pareto front-based multiobjective optimization. Clark van Lieshout (clarkvan33@gmail.com) contributed Python wrapper code. Robert McCulloch (robert.mcculloch@asu.edu) made contributions in the early days with the random number generators and log gamma approximation. + + The current repo, now housed within the wider BAND project, becomes the long-term home for OpenBT. + + Contributions of source code, documentation, and fixes are accepted via github pull requests. Contributors should branch from, and make pull requests to, the develop branch of `https://github.com/bandframework/openbt `__. Please see `https://bandframework.github.io/software/ `__ or email a member of the `BAND `__ team for more information. + + \ No newline at end of file diff --git a/docs/images/openbt_logo_rect.png b/docs/images/openbt_logo_rect.png new file mode 100644 index 0000000..2940d60 Binary files /dev/null and b/docs/images/openbt_logo_rect.png differ diff --git a/docs/index.rst b/docs/index.rst index 1633abf..cddd54f 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -3,14 +3,21 @@ .. _Open MPI: https://www.open-mpi.org .. _MPICH: https://www.mpich.org .. _framework: https://bandframework.github.io +.. _Issue 35: https://github.com/bandframework/OpenBT/issues/35 +.. _OpenBT repository: https://bitbucket.org/mpratola/openbt/src/master +.. _OpenBTMixing repository: https://github.com/jcyannotty/OpenBT -.. todo:: - Write high-level description, explain development history, and motivate - breakdown of documents presented here. License, copyright, responsibilities - of user, etc. + +.. image:: images/openbt_logo_rect.png + :align: center + :alt: OpenBT + :height: 165 + :width: 451 + +|openbt| is an extensible software project that implements a variety of Bayesian tree models for scientific and industry applications, including regression, model mixing, sensitivity analysis and multiobjective optimization. The heart of |openbt| is a set of C++ tools that can be used directly |via| the -command line or indirectly through the ``openbt`` Python package, which wraps +command line or indirectly through the ``openbt`` Python package or ``RopenBT'' R package, which wraps them. Typically these tools are built with an implementation of the Message Passing Interface (MPI), such as `Open MPI`_ or MPICH_, to enable distributed parallelization of computations. In particular, the Python wrapper package is @@ -22,12 +29,18 @@ it can be built with MPI installed on a laptop using the system's package manager or with MPI installations on leadership class platforms and clusters that were installed by experts and optimized for their specific platform. +This repository was established by merging the contents of the original Bitbucket +`OpenBT repository`_ with the `OpenBTMixing repository`_, which was based off of +the former. It, therefore, will supersede those two repositories, which will be +frozen. + +This repository and its contents are being established and developed as part of +|band| framework_. + .. note:: While an R wrapper does exist for the original |openbt| and |openbtmixing| repositories, that functionality has not yet been included in this new, - combined repository (Issue #XYZ). - -This package is being developed as part of |band| framework_. + combined repository (`Issue 35`_). .. toctree:: :numbered: diff --git a/docs/release_procedure.rst b/docs/release_procedure.rst index 8adaee2..db1a149 100644 --- a/docs/release_procedure.rst +++ b/docs/release_procedure.rst @@ -128,8 +128,8 @@ Otherwise, * One side effect of the use of ``setuptools-scm`` is that by default it includes in the distribution all files located within ``openbt_pypkg``. However, many files and folders in that space do **not** need to be - distributed (|eg| Flake8 configuration files and OpenBT command line tools - installed during development in ``src/openbt/bin``). This is what + distributed (|eg| Flake8 configuration files and |openbt| command line + tools installed during development in ``src/openbt/bin``). This is what "minimal" means above. Files and folders that should not be included in the distribution are specified in ``MANIFEST.in``. * Review the metadata to ensure correct and complete. This should include diff --git a/includes/ambrt.h b/includes/ambrt.h index 205bbbc..6931ef6 100644 --- a/includes/ambrt.h +++ b/includes/ambrt.h @@ -1,26 +1,4 @@ // ambrt.h: Additive mean BART model class definition. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #ifndef GUARD_ambrt_h #define GUARD_ambrt_h diff --git a/includes/amxbrt.h b/includes/amxbrt.h index d877fe0..dffe9fc 100644 --- a/includes/amxbrt.h +++ b/includes/amxbrt.h @@ -1,3 +1,5 @@ +// amxbrt.h: BART-based model mixing model class definition. + #ifndef GUARD_amxbrt_h #define GUARD_amxbrt_h diff --git a/includes/brt.h b/includes/brt.h index 456362d..1372069 100644 --- a/includes/brt.h +++ b/includes/brt.h @@ -1,26 +1,4 @@ // brt.h: Base BT model class definition. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #ifndef GUARD_brt_h #define GUARD_brt_h diff --git a/includes/brtfuns.h b/includes/brtfuns.h index cbfe39b..7ab7706 100644 --- a/includes/brtfuns.h +++ b/includes/brtfuns.h @@ -1,26 +1,4 @@ // brtfuns.h: Base BT model class help functions header file. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #ifndef GUARD_brtfuns_h #define GUARD_brtfuns_h diff --git a/includes/crn.h b/includes/crn.h index 5d0feac..79edc14 100644 --- a/includes/crn.h +++ b/includes/crn.h @@ -1,26 +1,4 @@ // crn.h: Random number generator class definition. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #ifndef CRN_H #define CRN_H diff --git a/includes/dinfo.h b/includes/dinfo.h index a70d85f..d9302f5 100644 --- a/includes/dinfo.h +++ b/includes/dinfo.h @@ -1,26 +1,4 @@ // dinfo.h: Data abstraction helper class definition. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #ifndef GUARD_dinfo_h #define GUARD_dinfo_h diff --git a/includes/mbrt.h b/includes/mbrt.h index 918302c..3c7649e 100644 --- a/includes/mbrt.h +++ b/includes/mbrt.h @@ -1,26 +1,4 @@ // mbrt.h: Mean tree BT model class definition. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #ifndef GUARD_mbrt_h #define GUARD_mbrt_h diff --git a/includes/mxbrt.h b/includes/mxbrt.h index 82464ac..989f220 100644 --- a/includes/mxbrt.h +++ b/includes/mxbrt.h @@ -1,3 +1,5 @@ +// mxbrt.h: Mean tree model mixing model class definition. + #ifndef GUARD_mxbrt_h #define GUARD_mxbrt_h diff --git a/includes/psbrt.h b/includes/psbrt.h index 9455460..97e137d 100644 --- a/includes/psbrt.h +++ b/includes/psbrt.h @@ -1,26 +1,4 @@ // psbrt.h: Product variance BT model class definition. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #ifndef GUARD_psbrt_h #define GUARD_psbrt_h diff --git a/includes/rn.h b/includes/rn.h index 39d62a8..45c1a1c 100644 --- a/includes/rn.h +++ b/includes/rn.h @@ -1,26 +1,4 @@ // rn.h: Random number generator virtual class definition. -// Copyright (C) 2012-2019 Matthew T. Pratola -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #ifndef GUARD_rn #define GUARD_rn diff --git a/includes/sbrt.h b/includes/sbrt.h index 39c578c..6ddede9 100644 --- a/includes/sbrt.h +++ b/includes/sbrt.h @@ -1,26 +1,4 @@ // sbrt.h: Variance tree BT model class definition. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #ifndef GUARD_sbrt_h #define GUARD_sbrt_h diff --git a/includes/singlebinomial.h b/includes/singlebinomial.h index 6477b2f..a83faaa 100644 --- a/includes/singlebinomial.h +++ b/includes/singlebinomial.h @@ -1,24 +1,4 @@ // singlebinomial.h: Binomial tree model class definition. -// Copyright (C) 2012-2019 Matthew T. Pratola -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com - #ifndef GUARD_singlebinomial_h #define GUARD_singlebinomial_h diff --git a/includes/singlepoisson.h b/includes/singlepoisson.h index a843251..57dc0bc 100644 --- a/includes/singlepoisson.h +++ b/includes/singlepoisson.h @@ -1,24 +1,4 @@ // singlepoisson.h: Poisson tree model class definition. -// Copyright (C) 2012-2019 Matthew T. Pratola -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com - #ifndef GUARD_singlepoisson_h #define GUARD_singlepoisson_h diff --git a/includes/tnorm.h b/includes/tnorm.h index 897f7d8..9402147 100644 --- a/includes/tnorm.h +++ b/includes/tnorm.h @@ -1,24 +1,4 @@ // tnorm.h: Truncated Normal helper functions for probit model. -// Copyright (C) 2012-2019 Matthew T. Pratola -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com - // Draw from the truncated Normal distribution with left,right truncation points diff --git a/includes/tree.h b/includes/tree.h index 8a74d0d..b310fdc 100644 --- a/includes/tree.h +++ b/includes/tree.h @@ -1,26 +1,4 @@ // tree.h: BT tree class definition. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #ifndef GUARD_tree_h #define GUARD_tree_h diff --git a/includes/treefuns.h b/includes/treefuns.h index cd31f09..00135dc 100644 --- a/includes/treefuns.h +++ b/includes/treefuns.h @@ -1,26 +1,4 @@ // treefuns.h: BT tree class helper functions header. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #ifndef GUARD_treefuns_h #define GUARD_treefuns_h diff --git a/openbt_pypkg/MANIFEST.in b/openbt_pypkg/MANIFEST.in index 9f8c6e7..59da8e5 100644 --- a/openbt_pypkg/MANIFEST.in +++ b/openbt_pypkg/MANIFEST.in @@ -1,4 +1,4 @@ -include LICENSE VERSION +include LICENSE exclude .flake8 .coveragerc exclude tox.ini prune src/openbt/bin diff --git a/src/ambrt.cpp b/src/ambrt.cpp index 2e64898..a541a7e 100644 --- a/src/ambrt.cpp +++ b/src/ambrt.cpp @@ -1,26 +1,4 @@ // ambrt.cpp: Additive mean BART model class methods. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #include "ambrt.h" #include "brtfuns.h" diff --git a/src/amxbrt.cpp b/src/amxbrt.cpp index d9669db..9292920 100644 --- a/src/amxbrt.cpp +++ b/src/amxbrt.cpp @@ -1,3 +1,5 @@ +// amxbrt.cpp: BART-based model mixing model class methods. + #include "amxbrt.h" #include "brtfuns.h" #include diff --git a/src/brt.cpp b/src/brt.cpp index acbc2f7..e25fa15 100644 --- a/src/brt.cpp +++ b/src/brt.cpp @@ -1,26 +1,4 @@ // brt.cpp: Base BT model class methods. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #include "brt.h" #include "brtfuns.h" diff --git a/src/brtfuns.cpp b/src/brtfuns.cpp index 06f2847..aa7b732 100644 --- a/src/brtfuns.cpp +++ b/src/brtfuns.cpp @@ -1,26 +1,4 @@ // brtfuns.cpp: Base BT model class helper functios. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #include "brtfuns.h" diff --git a/src/brtmoves.cpp b/src/brtmoves.cpp index ec7d1f5..8e0e379 100644 --- a/src/brtmoves.cpp +++ b/src/brtmoves.cpp @@ -1,24 +1,4 @@ // brtmoves.cpp: Base BT model class advanced MH methods. -// Copyright (C) 2013-2019 Matthew T. Pratola -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com - #include "brt.h" #include "brtfuns.h" diff --git a/src/cli.cpp b/src/cli.cpp index 932daa3..9353940 100644 --- a/src/cli.cpp +++ b/src/cli.cpp @@ -1,24 +1,4 @@ // cli.cpp: Implement command-line model interface to OpenBT. -// Copyright (C) 2012-2019 Matthew T. Pratola -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com - #include #include diff --git a/src/crn.cpp b/src/crn.cpp index ffe9b56..2222ace 100644 --- a/src/crn.cpp +++ b/src/crn.cpp @@ -1,26 +1,4 @@ // crn.h: Random number generator class methods. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #include "crn.h" diff --git a/src/mbrt.cpp b/src/mbrt.cpp index 1cdca3c..e3e8c04 100644 --- a/src/mbrt.cpp +++ b/src/mbrt.cpp @@ -1,26 +1,4 @@ // mbrt.cpp: Mean tree BT model class methods. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #include "mbrt.h" //#include "brtfuns.h" diff --git a/src/mixandemulate.cpp b/src/mixandemulate.cpp index a75da86..858d780 100644 --- a/src/mixandemulate.cpp +++ b/src/mixandemulate.cpp @@ -1,3 +1,5 @@ +// mixandemulate.cpp: Implement command-line model interface to model mixing. + #include #include #include diff --git a/src/mixandemulatepred.cpp b/src/mixandemulatepred.cpp index 6f3a7e7..38410f5 100644 --- a/src/mixandemulatepred.cpp +++ b/src/mixandemulatepred.cpp @@ -1,3 +1,5 @@ +// mixandemulatepred.cpp: Implement command-line model interface to model mixing prediction. + #include #include #include diff --git a/src/mixingwts.cpp b/src/mixingwts.cpp index f2a75cd..6f05df7 100644 --- a/src/mixingwts.cpp +++ b/src/mixingwts.cpp @@ -1,24 +1,4 @@ - // pred.cpp: Implement model prediction interface for OpenBT. - // Copyright (C) 2012-2018 Matthew T. Pratola - // - // This file is part of OpenBT. - // - // OpenBT is free software: you can redistribute it and/or modify - // it under the terms of the GNU Affero General Public License as published by - // the Free Software Foundation, either version 3 of the License, or - // (at your option) any later version. - // - // OpenBT is distributed in the hope that it will be useful, - // but WITHOUT ANY WARRANTY; without even the implied warranty of - // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - // GNU Affero General Public License for more details. - // - // You should have received a copy of the GNU Affero General Public License - // along with this program. If not, see . - // - // Author contact information - // Matthew T. Pratola: mpratola@gmail.com - +// mixingwts.cpp: Implement command-line model interface to model mixing weights. #include #include diff --git a/src/mopareto.cpp b/src/mopareto.cpp index 9e6ae6d..0959f76 100644 --- a/src/mopareto.cpp +++ b/src/mopareto.cpp @@ -1,25 +1,4 @@ // mopareto.cpp: Implement Pareto-front multiobjective optimization using OpenBT. -// Copyright (C) 2020 Matthew T. Pratola, Akira Horiguchi -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Akira Horiguchi: horiguchi.6@osu.edu - #include #include diff --git a/src/mxbrt.cpp b/src/mxbrt.cpp index 0b8b44f..afc3d76 100644 --- a/src/mxbrt.cpp +++ b/src/mxbrt.cpp @@ -1,3 +1,5 @@ +// mxbrt.cpp: Base single tree model mixing model class methods. + #include //header files from OpenBT diff --git a/src/pred.cpp b/src/pred.cpp index 6fd87ad..0469acb 100644 --- a/src/pred.cpp +++ b/src/pred.cpp @@ -1,24 +1,4 @@ // pred.cpp: Implement model prediction interface for OpenBT. -// Copyright (C) 2012-2018 Matthew T. Pratola -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com - #include #include diff --git a/src/psbrt.cpp b/src/psbrt.cpp index 5056aba..e7f7581 100644 --- a/src/psbrt.cpp +++ b/src/psbrt.cpp @@ -1,26 +1,4 @@ // psbrt.cpp: Product variance BT model class methods. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #include "psbrt.h" //#include "brtfuns.h" diff --git a/src/sbrt.cpp b/src/sbrt.cpp index c75ddc6..f4018be 100644 --- a/src/sbrt.cpp +++ b/src/sbrt.cpp @@ -1,26 +1,4 @@ // sbrt.cpp: Variance tree BT model class methods. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #include "sbrt.h" //#include "brtfuns.h" diff --git a/src/singlebinomial.cpp b/src/singlebinomial.cpp index 3dd3411..64c6322 100644 --- a/src/singlebinomial.cpp +++ b/src/singlebinomial.cpp @@ -1,24 +1,4 @@ // singlebinomial.cpp: Binomial tree model methods. -// Copyright (C) 2012-2019 Matthew T. Pratola -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com - #include "singlebinomial.h" //#include "brtfuns.h" diff --git a/src/singlepoisson.cpp b/src/singlepoisson.cpp index 25d52b7..d85dcad 100644 --- a/src/singlepoisson.cpp +++ b/src/singlepoisson.cpp @@ -1,24 +1,4 @@ // singlepoisson.cpp: Poisson tree model methods. -// Copyright (C) 2012-2019 Matthew T. Pratola -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com - #include "singlepoisson.h" //#include "brtfuns.h" diff --git a/src/sobol.cpp b/src/sobol.cpp index 7b56a15..b674ed1 100644 --- a/src/sobol.cpp +++ b/src/sobol.cpp @@ -1,25 +1,4 @@ // sobol.cpp: Implement Sobol-based variable activity metrics for OpenBT. -// Copyright (C) 2020 Matthew T. Pratola, Akira Horiguchi -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Akira Horiguchi: horiguchi.6@osu.edu - #include #include diff --git a/src/tnorm.cpp b/src/tnorm.cpp index 675b316..d3d93c0 100644 --- a/src/tnorm.cpp +++ b/src/tnorm.cpp @@ -1,24 +1,4 @@ // tnorm.cpp: Truncated Normal helper functions for probit model. -// Copyright (C) 2012-2019 Matthew T. Pratola -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com - //# include //# include diff --git a/src/tree.cpp b/src/tree.cpp index 996478e..deb088e 100644 --- a/src/tree.cpp +++ b/src/tree.cpp @@ -1,26 +1,4 @@ // tree.cpp: BT tree class methods. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #include #include diff --git a/src/treefuns.cpp b/src/treefuns.cpp index 65fba8f..c65c86d 100644 --- a/src/treefuns.cpp +++ b/src/treefuns.cpp @@ -1,26 +1,4 @@ // treefuns.cpp: BT tree class helper functions. -// Copyright (C) 2012-2016 Matthew T. Pratola, Robert E. McCulloch and Hugh A. Chipman -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com -// Robert E. McCulloch: robert.e.mculloch@gmail.com -// Hugh A. Chipman: hughchipman@gmail.com - #include "treefuns.h" diff --git a/src/vartivity.cpp b/src/vartivity.cpp index 4c57071..c7eaf7e 100644 --- a/src/vartivity.cpp +++ b/src/vartivity.cpp @@ -1,24 +1,4 @@ // vartivity.cpp: Implement variable activity interface for OpenBT. -// Copyright (C) 2012-2018 Matthew T. Pratola. -// -// This file is part of OpenBT. -// -// OpenBT is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// OpenBT is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -// Author contact information -// Matthew T. Pratola: mpratola@gmail.com - #include #include