1 % The copyright statement of this file is thus: 2 % 3 % BSD 3-Clause License (https://opensource.org/licenses/BSD-3-Clause): 4 % 5 % Copyright (c) 1987, Pedro J. de Rezende (rezende (a] ic.unicamp.br) and J.Joao Dias Almeida (jj (a] di.uminho.pt) 6 % 7 % All rights reserved. 8 % 9 % Redistribution and use in source and binary forms, with or without 10 % modification, are permitted provided that the following conditions are met: 11 % * Redistributions of source code must retain the above copyright 12 % notice, this list of conditions and the following disclaimer. 13 % * Redistributions in binary form must reproduce the above copyright 14 % notice, this list of conditions and the following disclaimer in the 15 % documentation and/or other materials provided with the distribution. 16 % * Neither the name of the University of Campinas, of the University of 17 % Minho nor the names of its contributors may be used to endorse or 18 % promote products derived from this software without specific prior 19 % written permission. 20 % 21 % THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 22 % ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 23 % WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 24 % DISCLAIMED. IN NO EVENT SHALL PEDRO J. DE REZENDE OR J.JOAO DIAS ALMEIDA BE 25 % LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 26 % CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 27 % GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 % HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 % LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 30 % OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31