Skip to content

Commit

Permalink
Changed license from GPL v2+ to FreeBSD (aka BSD 2-clause) license
Browse files Browse the repository at this point in the history
  • Loading branch information
Joris Mooij committed Jul 7, 2011
1 parent 08eb72f commit 4060696
Show file tree
Hide file tree
Showing 129 changed files with 302 additions and 957 deletions.
3 changes: 2 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ Dan Preston, Peter Gober, Jiuxiang Hu, Peter Rockett, Dhruv Batra, Alexander Sch
Alejandro Lage, Matt Dunham.

Part of this work was part of the Interactive Collaborative Information Systems (ICIS)
project, supported by the Dutch Ministry of Economic Affairs, grant BSIK03024.
project, supported by the Dutch Ministry of Economic Affairs, grant BSIK03024. The
Radboud University Nijmegen, The Netherlands, is one of the copyright holders.
340 changes: 0 additions & 340 deletions COPYING

This file was deleted.

1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* Changed license from GPL v2+ to FreeBSD (BSD 2-clause)
* Fixed numerical issues in MF, FBP and TRWBP (discovered in sparse branch)
* Jerome Maye found a bug in the State() class in index.h; implemented
a workaround for the moment
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Copyright (c) 2006-2011, the libDAI authors. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13 changes: 5 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# This file is part of libDAI - http://www.libdai.org/
#
# libDAI is licensed under the terms of the GNU General Public License version
# 2, or (at your option) any later version. libDAI is distributed without any
# warranty. See the file COPYING for more details.
# Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
#
# Copyright (C) 2006-2010 Joris Mooij [joris dot mooij at libdai dot org]
# Copyright (C) 2006-2007 Radboud University Nijmegen, The Netherlands
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.


# Load the platform independent build configuration file
Expand All @@ -15,8 +12,8 @@ include Makefile.ALL
include Makefile.conf

# Set version and date
DAI_VERSION="0.2.7"
DAI_DATE="August 19, 2010"
DAI_VERSION="git HEAD"
DAI_DATE="July 7, 2011"

# Directories of libDAI sources
# Location of libDAI headers
Expand Down Expand Up @@ -310,7 +307,7 @@ endif
doc : $(INC)/*.h $(SRC)/*.cpp examples/*.cpp doxygen.conf
doxygen doxygen.conf

README : doc scripts/makeREADME
README : doc scripts/makeREADME Makefile
DAI_VERSION=$(DAI_VERSION) DAI_DATE=$(DAI_DATE) scripts/makeREADME

TAGS :
Expand Down
6 changes: 2 additions & 4 deletions Makefile.ALL
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# This file is part of libDAI - http://www.libdai.org/
#
# libDAI is licensed under the terms of the GNU General Public License version
# 2, or (at your option) any later version. libDAI is distributed without any
# warranty. See the file COPYING for more details.
# Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
#
# Copyright (C) 2009-2010 Joris Mooij [joris dot mooij at libdai dot org]
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.


# This file can be used to configure compile time options of libDAI.
Expand Down
6 changes: 2 additions & 4 deletions Makefile.CYGWIN
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# This file is part of libDAI - http://www.libdai.org/
#
# libDAI is licensed under the terms of the GNU General Public License version
# 2, or (at your option) any later version. libDAI is distributed without any
# warranty. See the file COPYING for more details.
# Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
#
# Copyright (C) 2009-2010 Joris Mooij [joris dot mooij at libdai dot org]
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.


# This template contains configurations for compiling libDAI under Cygwin
Expand Down
10 changes: 4 additions & 6 deletions Makefile.LINUX
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# This file is part of libDAI - http://www.libdai.org/
#
# libDAI is licensed under the terms of the GNU General Public License version
# 2, or (at your option) any later version. libDAI is distributed without any
# warranty. See the file COPYING for more details.
# Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
#
# It has been tested with Ubuntu 8.04, Ubuntu 9.04 and Debian testing
#
# Copyright (C) 2009-2010 Joris Mooij [joris dot mooij at libdai dot org]
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.


# This template contains configurations for compiling libDAI under GNU/Linux
# and other UNIX variants
#
# It has been tested with Ubuntu 8.04, Ubuntu 9.04 and Debian testing
#
# To use it, simply copy this file to 'Makefile.conf' and adapt 'Makefile.conf'
# to your local setup

Expand Down
6 changes: 2 additions & 4 deletions Makefile.MACOSX
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# This file is part of libDAI - http://www.libdai.org/
#
# libDAI is licensed under the terms of the GNU General Public License version
# 2, or (at your option) any later version. libDAI is distributed without any
# warranty. See the file COPYING for more details.
# Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
#
# Copyright (C) 2009-2010 Joris Mooij [joris dot mooij at libdai dot org]
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.


# This template contains configurations for compiling libDAI under Mac OS X
Expand Down
6 changes: 2 additions & 4 deletions Makefile.WINDOWS
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# This file is part of libDAI - http://www.libdai.org/
#
# libDAI is licensed under the terms of the GNU General Public License version
# 2, or (at your option) any later version. libDAI is distributed without any
# warranty. See the file COPYING for more details.
# Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
#
# Copyright (C) 2009-2010 Joris Mooij [joris dot mooij at libdai dot org]
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.


# This template contains configurations for compiling libDAI with Visual C++
Expand Down
25 changes: 11 additions & 14 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,21 @@ libDAI - A free/open source C++ library for Discrete Approximate Inference

-------------------------------------------------------------------------------

Version: 0.2.7
Date: August 19, 2010
Version: git HEAD
Date: July 7, 2011
See also: http://www.libdai.org

-------------------------------------------------------------------------------

License

libDAI is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
terms of the BSD 2-clause license (also known as the FreeBSD license), which
can be found in the accompanying LICENSE file.

libDAI 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 General Public License for more details.
[Note: up to and including version 0.2.7, libDAI was licensed under the GNU
General Public License (GPL) version 2 or higher.]

You should have received a copy of the GNU General Public License
along with libDAI in the file COPYING. If not, see http://www.gnu.org/licenses/

-------------------------------------------------------------------------------

Expand Down Expand Up @@ -54,10 +50,10 @@ publications using libDAI at joris dot mooij at libdai dot org.

About libDAI

libDAI is a free/open source C++ library (licensed under GPL 2+) that provides
implementations of various (approximate) inference methods for discrete
graphical models. libDAI supports arbitrary factor graphs with discrete
variables; this includes discrete Markov Random Fields and Bayesian Networks.
libDAI is a free/open source C++ library that provides implementations of
various (approximate) inference methods for discrete graphical models. libDAI
supports arbitrary factor graphs with discrete variables; this includes
discrete Markov Random Fields and Bayesian Networks.

The library is targeted at researchers. To be able to use the library, a good
understanding of graphical models is needed.
Expand Down Expand Up @@ -337,3 +333,4 @@ Install doxygen, graphviz and a TeX distribution and use
to build the documentation. If the documentation is not clear enough, feel free
to send me an email (or even better, to improve the documentation and send a
patch!). The documentation can also be browsed online at http://www.libdai.org.

7 changes: 2 additions & 5 deletions examples/example.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2006-2011 Joris Mooij [joris dot mooij at libdai dot org]
* Copyright (C) 2006-2007 Radboud University Nijmegen, The Netherlands
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/


Expand Down
6 changes: 2 additions & 4 deletions examples/example_bipgraph.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2008-2009 Joris Mooij [joris dot mooij at libdai dot org]
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/


Expand Down
7 changes: 2 additions & 5 deletions examples/example_imagesegmentation.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2006-2010 Joris Mooij [joris dot mooij at libdai dot org]
* Copyright (C) 2006-2007 Radboud University Nijmegen, The Netherlands
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/


Expand Down
6 changes: 2 additions & 4 deletions examples/example_permute.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2008-2009 Joris Mooij [joris dot mooij at libdai dot org]
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/


Expand Down
6 changes: 2 additions & 4 deletions examples/example_sprinkler.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2008-2010 Joris Mooij [joris dot mooij at libdai dot org]
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/


Expand Down
6 changes: 2 additions & 4 deletions examples/example_sprinkler_em.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2010 Joris Mooij [joris dot mooij at libdai dot org]
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/

#include <dai/alldai.h>
Expand Down
6 changes: 2 additions & 4 deletions examples/example_sprinkler_gibbs.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2010 Joris Mooij [joris dot mooij at libdai dot org]
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/


Expand Down
6 changes: 2 additions & 4 deletions examples/example_varset.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2008-2009 Joris Mooij [joris dot mooij at libdai dot org]
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/


Expand Down
6 changes: 2 additions & 4 deletions examples/uai2010-aie-solver.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2008-2010 Joris Mooij [joris dot mooij at libdai dot org]
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/


Expand Down
7 changes: 2 additions & 5 deletions include/dai/alldai.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2006-2010 Joris Mooij [joris dot mooij at libdai dot org]
* Copyright (C) 2006-2007 Radboud University Nijmegen, The Netherlands
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/


Expand Down
7 changes: 2 additions & 5 deletions include/dai/bbp.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2009 Frederik Eaton [frederik at ofb dot net]
* Copyright (C) 2009-2010 Joris Mooij [joris dot mooij at libdai dot org]
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/


Expand Down
7 changes: 2 additions & 5 deletions include/dai/bipgraph.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2006-2010 Joris Mooij [joris dot mooij at libdai dot org]
* Copyright (C) 2006-2007 Radboud University Nijmegen, The Netherlands
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/


Expand Down
8 changes: 2 additions & 6 deletions include/dai/bp.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2006-2010 Joris Mooij [joris dot mooij at libdai dot org]
* Copyright (C) 2006-2007 Radboud University Nijmegen, The Netherlands
* Copyright (C) 2008-2009 Giuseppe Passino
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/


Expand Down
6 changes: 2 additions & 4 deletions include/dai/bp_dual.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2009 Frederik Eaton [frederik at ofb dot net]
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/


Expand Down
6 changes: 2 additions & 4 deletions include/dai/cbp.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* This file is part of libDAI - http://www.libdai.org/
*
* libDAI is licensed under the terms of the GNU General Public License version
* 2, or (at your option) any later version. libDAI is distributed without any
* warranty. See the file COPYING for more details.
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
*
* Copyright (C) 2009 Frederik Eaton [frederik at ofb dot net]
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
*/


Expand Down
Loading

0 comments on commit 4060696

Please sign in to comment.