[29] | 1 | /* |
---|
| 2 | * This program is free software; you can redistribute it and/or modify |
---|
| 3 | * it under the terms of the GNU General Public License as published by |
---|
| 4 | * the Free Software Foundation; either version 2 of the License, or |
---|
| 5 | * (at your option) any later version. |
---|
| 6 | * |
---|
| 7 | * This program is distributed in the hope that it will be useful, |
---|
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 10 | * GNU General Public License for more details. |
---|
| 11 | * |
---|
| 12 | * You should have received a copy of the GNU General Public License |
---|
| 13 | * along with this program; if not, write to the Free Software |
---|
| 14 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
| 15 | */ |
---|
| 16 | |
---|
| 17 | /* |
---|
| 18 | * GraphConstants.java |
---|
| 19 | * Copyright (C) 2003 University of Waikato, Hamilton, New Zealand |
---|
| 20 | * |
---|
| 21 | */ |
---|
| 22 | |
---|
| 23 | package weka.gui.graphvisualizer; |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | /** |
---|
| 27 | * GraphConstants.java |
---|
| 28 | * |
---|
| 29 | * |
---|
| 30 | * @author Ashraf M. Kibriya (amk14@cs.waikato.ac.nz) |
---|
| 31 | * @version $Revision: 1.5 $ - 24 Apr 2003 - Initial version (Ashraf M. Kibriya) |
---|
| 32 | */ |
---|
| 33 | public interface GraphConstants { |
---|
| 34 | /** Types of Edges */ |
---|
| 35 | int DIRECTED=1, REVERSED=2, DOUBLE=3; |
---|
| 36 | |
---|
| 37 | //Node types |
---|
| 38 | /** SINGULAR_DUMMY node - node with only one outgoing edge |
---|
| 39 | * i.e. one which represents a single edge and is inserted to close a gap */ |
---|
| 40 | int SINGULAR_DUMMY=1; |
---|
| 41 | /** PLURAL_DUMMY node - node with more than one outgoing edge |
---|
| 42 | * i.e. which represents an edge split and is inserted to close a gap */ |
---|
| 43 | int PLURAL_DUMMY=2; |
---|
| 44 | /** NORMAL node - node actually contained in graphs description */ |
---|
| 45 | int NORMAL=3; |
---|
| 46 | |
---|
| 47 | } // GraphConstants |
---|