1 package net.obsearch.index.pptree;
2
3 import java.util.List;
4 /*
5 OBSearch: a distributed similarity search engine
6 This project is to similarity search what 'bit-torrent' is to downloads.
7 Copyright (C) 2007 Arnoldo Jose Muller Molina
8
9 This program is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 */
22 /**
23 * A Space Tree is like a KDB-tree. It is used to partition the space and
24 * improve the efficiency of the pyramid technique.
25 * @author Arnoldo Jose Muller Molina
26 * @since 0.9
27 */
28 public abstract class AbstractSpaceTreeNode implements SpaceTree {
29
30 /**
31 * Holds the center of the current node.
32 * It is used to explore first the spaces whose center is closest
33 * to our query.
34 */
35 //TODO: remove this to save some memory
36 //private float [] center;
37
38 AbstractSpaceTreeNode(double [] center){
39 // this.center = center;
40 }
41
42 public final double [] getCenter(){
43 //return center;
44 return null;
45 }
46
47 }