/
lgcldpnd.h
68 lines (55 loc) · 2.65 KB
/
lgcldpnd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.24 06/05/06 */
/* */
/* LOGICAL DEPENDENCIES HEADER FILE */
/*******************************************************/
/*************************************************************/
/* Purpose: Provide support routines for managing truth */
/* maintenance using the logical conditional element. */
/* */
/* Principal Programmer(s): */
/* Gary D. Riley */
/* */
/* Contributing Programmer(s): */
/* */
/* Revision History: */
/* */
/* 6.24: Renamed BOOLEAN macro type to intBool. */
/* */
/*************************************************************/
#ifndef _H_lgcldpnd
#define _H_lgcldpnd
struct dependency
{
void *dPtr;
struct dependency *next;
};
#ifndef _H_match
#include "match.h"
#endif
#ifndef _H_pattern
#include "pattern.h"
#endif
#ifdef LOCALE
#undef LOCALE
#endif
#ifdef _LGCLDPND_SOURCE_
#define LOCALE
#else
#define LOCALE extern
#endif
LOCALE intBool AddLogicalDependencies(void *,struct patternEntity *,int);
LOCALE void RemoveEntityDependencies(void *,struct patternEntity *);
LOCALE void RemovePMDependencies(void *,struct partialMatch *);
LOCALE void DestroyPMDependencies(void *,struct partialMatch *);
LOCALE void RemoveLogicalSupport(void *,struct partialMatch *);
LOCALE void ForceLogicalRetractions(void *);
LOCALE void Dependencies(void *,struct patternEntity *);
LOCALE void Dependents(void *,struct patternEntity *);
LOCALE void DependenciesCommand(void *);
LOCALE void DependentsCommand(void *);
LOCALE void ReturnEntityDependencies(void *,struct patternEntity *);
LOCALE struct partialMatch *FindLogicalBind(struct joinNode *,struct partialMatch *);
#endif