00001 /* File: subinst.h 00002 ** Author(s): Terrance Swift 00003 ** Contact: xsb-contact@cs.sunysb.edu 00004 ** 00005 ** Copyright (C) The Research Foundation of SUNY, 1986, 1993-1998 00006 ** 00007 ** XSB is free software; you can redistribute it and/or modify it under the 00008 ** terms of the GNU Library General Public License as published by the Free 00009 ** Software Foundation; either version 2 of the License, or (at your option) 00010 ** any later version. 00011 ** 00012 ** XSB is distributed in the hope that it will be useful, but WITHOUT ANY 00013 ** WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00014 ** FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for 00015 ** more details. 00016 ** 00017 ** You should have received a copy of the GNU Library General Public License 00018 ** along with XSB; if not, write to the Free Software Foundation, 00019 ** Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00020 ** 00021 ** $Id: subinst.h,v 1.6 2005/10/03 13:26:43 tswift Exp $ 00022 ** 00023 */ 00024 00025 00026 #define OUTER_FIXPOINT 1 00027 #define ITER_FIXPOINT 2 00028 #define SCHED_ANSWERS 3 00029 #define SIMPL_REMOVE_DE 7 00030 #define SIMPL_REMOVE_DL 8 00031 #define NEW_ANSWER_SIMPL_POS_UNS 11 00032 #define NEW_ANSWER_SIMPL_POS_UNC 12 00033 #define NEW_ANSWER_SIMPL_NEG_FAIL 13 00034 #define NEW_ANSWER_SIMPL_NEG_SUC 14 00035 00036 extern Cell subinst_table[256][2]; 00037 00038 /* --------------------------------------------------------------------- */ 00039 00040 /* The following global variables are used for ProfileLeader, and 00041 represent summary statistics on the size and confomation of SCCs. 00042 It can only be configured with Profile nd cannot be configured with the 00043 multi-threaded engine. */ 00044 00045 #if defined(PROFILE) && !defined(MULTI_THREAD) 00046 extern int trapped_prolog_cps; 00047 extern int max_subgoals; 00048 extern int max_completed; 00049 extern int max_consumers_in_ascc; 00050 extern int max_compl_susps_in_ascc; 00051 00052 /* The following global variables are used for SpitOutGraph, which 00053 prints out the entire SDG */ 00054 00055 extern int sdg_sample_rate; 00056 extern int sdg_check_num; 00057 00058 #endif 00059 00060 00061