00001 /* 00002 * Copyright (C) 2005 M.J. Zaki <zaki@cs.rpi.edu> Rensselaer Polytechnic Institute 00003 * Written by parimi@cs.rpi.edu 00004 * Updated by chaojv@cs.rpi.edu, alhasan@cs.rpi.edu, salems@cs.rpi.edu 00005 * Modifications: 00006 * Added tokenizer properties -- Zaki, 5/8/06 00007 * 00008 * This program is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU General Public License 00010 * as published by the Free Software Foundation; either version 2 00011 * of the License, or (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License along 00019 * with this program; if not, write to the Free Software Foundation, Inc., 00020 * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 00021 */ 00022 /* 00023 * Copyright (C) 2005 M.J. Zaki <zaki@cs.rpi.edu> Rensselaer Polytechnic Institute 00024 * Written by parimi@cs.rpi.edu 00025 * Updated by chaojv@cs.rpi.edu, alhasan@cs.rpi.edu, salems@cs.rpi.edu 00026 * 00027 * This program is free software; you can redistribute it and/or 00028 * modify it under the terms of the GNU General Public License 00029 * as published by the Free Software Foundation; either version 2 00030 * of the License, or (at your option) any later version. 00031 * 00032 * This program is distributed in the hope that it will be useful, 00033 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00034 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00035 * GNU General Public License for more details. 00036 * 00037 * You should have received a copy of the GNU General Public License along 00038 * with this program; if not, write to the Free Software Foundation, Inc., 00039 * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 00040 */ 00041 #ifndef _PROPERTIES_H_ 00042 #define _PROPERTIES_H_ 00043 00044 00045 class property {}; 00047 class pat_property {}; 00048 class directed: public property {}; 00049 class undirected: public property {}; 00050 class no_edges: public property {}; 00051 class uniq_label: public property {}; 00052 class cyclic: public property {}; 00053 class acyclic: public property {}; 00054 class indegree_lte_one: public property {}; 00055 class outdegree_lte_one: public property {}; 00056 class ordered: public property {}; 00057 class unordered: public property {}; 00058 class null_prop: public property {}; 00060 // end pattern property definitions // 00061 00062 00063 // mining property class definitions // 00064 class mining_prop: public property {}; 00065 class embedded: public mining_prop {}; 00066 class induced: public mining_prop {}; 00067 class Fk_Fk: public mining_prop {}; 00068 class Fk_F1: public mining_prop {}; 00069 class vert_mine: public mining_prop {}; 00070 class horiz_mine: public mining_prop {}; 00072 // end mining pros // 00073 00074 //tokenizer property class definitions// 00075 class tokenizer_prop: public property {}; 00076 class dmtl_format: public tokenizer_prop {}; 00077 class fasta_format: public tokenizer_prop {}; 00086 template<class prop, class next_property=null_prop> 00087 class proplist 00088 { 00089 public: 00090 typedef prop FIRST; 00091 typedef next_property SECOND; 00092 }; 00093 00094 #endif