graph.hh
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
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef __GECODE_GRAPH_HH__
00039 #define __GECODE_GRAPH_HH__
00040
00041 #include <gecode/int.hh>
00042
00043
00044
00045
00046
00047 #if !defined(GECODE_STATIC_LIBS) && \
00048 (defined(__CYGWIN__) || defined(__MINGW32__) || defined(_MSC_VER))
00049
00050 #ifdef GECODE_BUILD_GRAPH
00051 #define GECODE_GRAPH_EXPORT __declspec( dllexport )
00052 #else
00053 #define GECODE_GRAPH_EXPORT __declspec( dllimport )
00054 #endif
00055
00056 #else
00057
00058 #ifdef GECODE_GCC_HAS_CLASS_VISIBILITY
00059 #define GECODE_GRAPH_EXPORT __attribute__ ((visibility("default")))
00060 #else
00061 #define GECODE_GRAPH_EXPORT
00062 #endif
00063
00064 #endif
00065
00066
00067 #ifndef GECODE_BUILD_GRAPH
00068 #define GECODE_LIBRARY_NAME "Graph"
00069 #include <gecode/support/auto-link.hpp>
00070 #endif
00071
00078 namespace Gecode {
00079
00099 GECODE_GRAPH_EXPORT void
00100 circuit(Home home, const IntVarArgs& x,
00101 IntConLevel icl=ICL_DEF);
00122 GECODE_GRAPH_EXPORT void
00123 circuit(Home home,
00124 const IntArgs& c,
00125 const IntVarArgs& x, const IntVarArgs& y, IntVar z,
00126 IntConLevel icl=ICL_DEF);
00145 GECODE_GRAPH_EXPORT void
00146 circuit(Home home,
00147 const IntArgs& c,
00148 const IntVarArgs& x, IntVar z,
00149 IntConLevel icl=ICL_DEF);
00151
00152 }
00153
00154 #endif
00155
00156
00157