PLN.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00029 #ifdef _PLN_H
00030 #define _PLN_H
00031
00032
00033 #ifdef WIN32
00034 #pragma warning( disable : 4786)
00035 #pragma warning( disable : 4503)
00036 #endif
00037
00038
00039 #include <types.h>
00040 #include <math.h>
00041 #include <stdio.h>
00042 #include <stdarg.h>
00043
00044
00045 #include <boost/smart_ptr.hpp>
00046 #include <boost/foreach.hpp>
00047 #include <boost/lambda/lambda.hpp>
00048
00049
00050 #define PLN_CONFIG_PATTERN_LENGTH 13
00051 #define PLN_CONFIG_FIM 1
00052 #define PLN_CONFIG_COLLAPSE_LIST_LINKS 0
00053
00054 #define foreach BOOST_FOREACH
00055 #define Btr boost::shared_ptr
00056
00057 using namespace opencog;
00058
00059 namespace opencog {
00060 namespace pln {
00061 typedef unsigned char byte;
00062 typedef unsigned short int word;
00063 typedef unsigned long int dword;
00064 typedef tree<Vertex> vtree;
00065
00066 typedef unsigned long ulong;
00067 enum MetaProperty { NONE, STRENGTH, CONFIDENCE, STRENGTH_CONFIDENCE, LTI, STI };
00068
00069
00070 }}
00071
00072 #endif // _PLN_H