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