- Renamed runs.[c|h] to system.[c|h], which makes much more sense.
This commit is contained in:
parent
3ac2a8d9bb
commit
ace16a896f
@ -1,6 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "tracebuf.h"
|
||||
|
||||
//! Help counter for the number of unknowns.
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <stdlib.h>
|
||||
#include "termmaps.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "error.h"
|
||||
|
||||
#define MATCH_NONE 0
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "terms.h"
|
||||
#include "termlists.h"
|
||||
#include "memory.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "knowledge.h"
|
||||
#include "symbols.h"
|
||||
#include "substitutions.h"
|
||||
@ -40,7 +40,7 @@ Termlist tacTermlist (Tac tc);
|
||||
|
||||
/* externally used:
|
||||
* TERM_Function in termlists.c for inversekeys
|
||||
* TERM_Type in runs.c for type determination.
|
||||
* TERM_Type in system.c for type determination.
|
||||
*/
|
||||
|
||||
Term TERM_Agent;
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include "memory.h"
|
||||
#include "constraints.h"
|
||||
#include "debug.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
|
||||
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "debug.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
|
||||
static int debuglevel;
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "termlists.h"
|
||||
#include "knowledge.h"
|
||||
#include "memory.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "debug.h"
|
||||
|
||||
/*
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <limits.h>
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "memory.h"
|
||||
#include "modelchecker.h"
|
||||
#include "tracebuf.h"
|
||||
|
@ -5,7 +5,7 @@
|
||||
#ifndef LATEX
|
||||
#define LATEX
|
||||
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
|
||||
void latexInit(const System sys, int argc, char **argv);
|
||||
void latexDone(const System sys);
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <limits.h>
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "debug.h"
|
||||
#include "modelchecker.h"
|
||||
#include "memory.h"
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <stdio.h>
|
||||
#include "memory.h"
|
||||
#include "substitutions.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "modelchecker.h"
|
||||
#include "match_basic.h"
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include "match_clp.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "memory.h"
|
||||
#include "constraints.h"
|
||||
#include "mgu.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef MATCHCLP
|
||||
#define MATCHCLP
|
||||
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
|
||||
int matchRead_clp (const System sys, const int run,
|
||||
int (*proceed) (System, int));
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "termlists.h"
|
||||
#include "knowledge.h"
|
||||
#include "substitutions.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
|
||||
//! Open memory code.
|
||||
void
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <limits.h>
|
||||
#include "substitutions.h"
|
||||
#include "knowledge.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "debug.h"
|
||||
#include "modelchecker.h"
|
||||
#include "report.h"
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "latex.h"
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef OUTPUT
|
||||
#define OUTPUT
|
||||
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
|
||||
void tracePrint(const System sys);
|
||||
void attackDisplay(const System sys);
|
||||
|
@ -8,6 +8,6 @@
|
||||
#include "terms.h"
|
||||
#include "termlists.h"
|
||||
#include "symbols.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "tac.h"
|
||||
#endif
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "terms.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "debug.h"
|
||||
#include "output.h"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "terms.h"
|
||||
#include "termlists.h"
|
||||
#include "knowledge.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "memory.h"
|
||||
#include "constraints.h"
|
||||
#include "debug.h"
|
||||
@ -16,7 +16,7 @@
|
||||
#include "tracebuf.h"
|
||||
#include "roles.h"
|
||||
|
||||
extern int globalLatex; // from runs.c
|
||||
extern int globalLatex; // from system.c
|
||||
|
||||
//! Allocate memory the size of a roledef struct.
|
||||
Roledef
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include "termlists.h"
|
||||
#include "knowledge.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
|
||||
struct substitution
|
||||
{
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "terms.h"
|
||||
#include "termlists.h"
|
||||
#include "knowledge.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "memory.h"
|
||||
#include "constraints.h"
|
||||
#include "debug.h"
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
#include "memory.h"
|
||||
#include "tracebuf.h"
|
||||
#include "varbuf.h"
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "terms.h"
|
||||
#include "termlists.h"
|
||||
#include "knowledge.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
|
||||
/* STATUS symbols */
|
||||
#define S_UNK 0 // UNKnown : unprocessed.
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
|
||||
/*
|
||||
* tracebuf struct is defined in runs.h to avoid loops.
|
||||
* tracebuf struct is defined in system.h to avoid loops.
|
||||
*/
|
||||
|
||||
int tracebufRebuildKnow(struct tracebuf *tb);
|
||||
|
@ -2,11 +2,11 @@
|
||||
* varbuf.c
|
||||
*
|
||||
* Operations on a variable substitutions buffer.
|
||||
* The type is actually defined in runs.h
|
||||
* The type is actually defined in system.h
|
||||
*/
|
||||
|
||||
#include "memory.h"
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
|
||||
/*
|
||||
* create a new varbuffer from the current state of the system
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef VARBUF
|
||||
#define VARBUF
|
||||
|
||||
#include "runs.h"
|
||||
#include "system.h"
|
||||
|
||||
Varbuf varbufInit (const System sys);
|
||||
void varbufSet (const System sys, Varbuf vb);
|
||||
|
Loading…
Reference in New Issue
Block a user