00001 /* 00002 * (c) copyright 2008, Technische Universitaet Graz and Technische Universitaet Wien 00003 * 00004 * This file is part of jdiagengine. 00005 * 00006 * jdiagengine is free software: you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation, either version 3 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * jdiagengine is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * You should have received a copy of the GNU General Public License 00016 * along with jdiagengine. If not, see <http://www.gnu.org/licenses/>. 00017 * 00018 * Authors: Joerg Weber, Franz Wotawa 00019 * Contact: jweber@ist.tugraz.at (preferred), or fwotawa@ist.tugraz.at 00020 * 00021 */ 00022 00023 00034 package theoremprover; 00035 00036 import java.lang.*; 00037 import java.util.*; 00038 import theoremprover.*; 00039 00040 abstract class LObject extends Object 00041 { 00042 // Printing methods 00043 00044 public abstract String toString(); 00045 00046 // Conversion methods 00047 00048 // Convert self to a propositional sentence 00049 public abstract PropositionalTheoremProver asPropositionalSentence(); 00050 00051 public PropositionalTheoremProver 00052 asPropositionalSentence( 00053 PropositionalTheoremProver tp, 00054 Hashtable pd) 00055 { 00056 return tp; 00057 } 00058 00059 public ABTheoremProver 00060 asABPropositionalSentence( 00061 ABTheoremProver tp, 00062 Hashtable pd) 00063 { 00064 return tp; 00065 } 00066 00067 public ArrayList allPredicates(String str, int i, ArrayList v) 00068 { 00069 return v; 00070 } 00071 } 00072