Commit b890bd4c authored by xnovak8's avatar xnovak8
Browse files

* version that was used for the paper experiments

 * GPL licence added to all sources
parent 2a06c27d
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
/*
 *  This file is part of MESSIF library.
 *  This file is part of M-Index library: http://disa.fi.muni.cz/results/software/ppp-codes/
 *
 *  MESSIF library is free software: you can redistribute it and/or modify
 *  PPP-Codes library 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 3 of the License, or
 *  (at your option) any later version.
 *
 *  MESSIF library is distributed in the hope that it will be useful,
 *  M-Index library 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.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with MESSIF library.  If not, see <http://www.gnu.org/licenses/>.
 *  along with M-Index library.  If not, see <http://www.gnu.org/licenses/>.
 */
package messif.buckets.index.impl;

@@ -37,7 +37,7 @@ import mindex.MetricIndexes;
 * Implementation of disk (long) index that stores the indexed data in a sorted array and keeps the
 * keys to be compared always in memory.
 * 
 * @author David Novak, Masaryk University, Brno, Czech Republic, david.novak@fi.muni.cz
 * @author David Novak, Masaryk University, Brno, Czech Republic, novak.david@gmail.com
 */
public class DiskStorageMemoryIntIndex implements Serializable {

+17 −1
Original line number Diff line number Diff line
/*
 *  This file is part of M-Index library: http://disa.fi.muni.cz/results/software/ppp-codes/
 *
 *  PPP-Codes library 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 3 of the License, or
 *  (at your option) any later version.
 *
 *  M-Index library 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.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with M-Index library.  If not, see <http://www.gnu.org/licenses/>.
 */
package messif.objects.impl;

import java.util.ArrayList;
@@ -6,7 +22,7 @@ import java.util.List;


/**
 * @author Telmo Menezes (telmo@telmomenezes.com)
 * @author David Novak, Masaryk University, Brno, Czech Republic, novak.david@gmail.com
 *
 */
class Edge {
+16 −15
Original line number Diff line number Diff line
/**
 * This class computes the Earth Mover's Distance, using the EMD-HAT algorithm
 * created by Ofir Pele and Michael Werman.
/*
 *  This file is part of M-Index library: http://disa.fi.muni.cz/results/software/ppp-codes/
 *
 *  PPP-Codes library 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 3 of the License, or
 *  (at your option) any later version.
 *
 * This implementation is strongly based on the C++ code by the same authors,
 * that can be found here:
 * http://www.cs.huji.ac.il/~ofirpele/FastEMD/code/
 *  M-Index library 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.
 *
 * Some of the author's comments on the original were kept or edited for 
 * this context.
 *  You should have received a copy of the GNU General Public License
 *  along with M-Index library.  If not, see <http://www.gnu.org/licenses/>.
 */



package messif.objects.impl;

import gnu.trove.list.TIntList;
@@ -23,8 +25,7 @@ import java.util.LinkedList;
import java.util.List;

/**
 * @author Telmo Menezes (telmo@telmomenezes.com)
 * @author Ofir Pele
 * @author David Novak, Masaryk University, Brno, Czech Republic, novak.david@gmail.com
 *
 */
public class EarthMoverDistance {
+15 −5
Original line number Diff line number Diff line
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 *  This file is part of M-Index library: http://disa.fi.muni.cz/results/software/ppp-codes/
 *
 *  PPP-Codes library 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 3 of the License, or
 *  (at your option) any later version.
 *
 *  M-Index library 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.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with M-Index library.  If not, see <http://www.gnu.org/licenses/>.
 */

package messif.objects.impl;

import java.io.IOException;
@@ -15,7 +25,7 @@ import messif.objects.nio.BinarySerializator;

/**
 *
 * @author david
 * @author David Novak, Masaryk University, Brno, Czech Republic, novak.david@gmail.com
 */
public class FeatureFloatL2Temporary implements ObjectFeatureTemporary, BinarySerializable {

+16 −0
Original line number Diff line number Diff line
/*
 *  This file is part of M-Index library: http://disa.fi.muni.cz/results/software/ppp-codes/
 *
 *  PPP-Codes library 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 3 of the License, or
 *  (at your option) any later version.
 *
 *  M-Index library 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.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with M-Index library.  If not, see <http://www.gnu.org/licenses/>.
 */
package messif.objects.impl;

import java.io.IOException;
Loading