⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 expspec_tab_cpp-source.html

📁 一个tabu search算法框架
💻 HTML
📖 第 1 页 / 共 5 页
字号:
00165 <font class="stringliteral">"plot_file_prefix"</font>,<font class="stringliteral">"runners"</font>,<font class="stringliteral">"runner"</font>,<font class="stringliteral">"@2"</font>,<font class="stringliteral">"@3"</font>,<font class="stringliteral">"@4"</font>,<font class="stringliteral">"@5"</font>,<font class="stringliteral">"@6"</font>,<font class="stringliteral">"@7"</font>,<font class="stringliteral">"hc_parameters"</font>,
00166 <font class="stringliteral">"ts_parameters"</font>,<font class="stringliteral">"sa_parameters"</font>, NULL
00167 };
00168 <font class="preprocessor">#endif</font>
00169 <font class="preprocessor"></font>
00170 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">short</font> yyr1[] = {     0,
00171     26,    26,    28,    27,    29,    30,    30,    31,    31,    32,
00172     32,    33,    33,    34,    34,    35,    35,    36,    36,    37,
00173     37,    39,    40,    38,    41,    42,    38,    43,    44,    38,
00174     45,    45,    46,    46,    47,    47
00175 };
00176 
00177 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">short</font> yyr2[] = {     0,
00178      0,     2,     0,     4,     4,     2,     2,     2,     2,     2,
00179      2,     0,     3,     0,     3,     0,     3,     0,     3,     1,
00180      2,     0,     0,     8,     0,     0,     8,     0,     0,     8,
00181      3,     6,     9,    12,     9,    12
00182 };
00183 
00184 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">short</font> yydefact[] = {     1,
00185      0,     1,     3,     2,     0,    12,     4,     0,     0,     0,
00186      0,     0,    12,    14,    14,    16,    18,    16,     0,     0,
00187      0,     0,     0,     0,    20,     7,     9,     6,     8,    10,
00188     11,    17,    15,    19,    13,     0,     0,     0,     5,    21,
00189     25,    22,    28,     0,     0,     0,     0,     0,     0,     0,
00190     26,     0,    23,     0,    29,     0,     0,     0,     0,     0,
00191      0,     0,    27,    31,    24,     0,    30,     0,     0,     0,
00192      0,     0,     0,     0,    32,     0,     0,     0,     0,     0,
00193     33,    35,     0,     0,     0,     0,    34,    36,     0,     0,
00194      0
00195 };
00196 
00197 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">short</font> yydefgoto[] = {     4,
00198      2,     5,     7,    12,    13,    14,    15,    16,    17,    18,
00199     24,    25,    45,    59,    44,    57,    46,    61,    53,    51,
00200     55
00201 };
00202 
00203 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">short</font> yypact[] = {     8,
00204    -10,     8,-32768,-32768,    -5,    -4,-32768,    -8,    -7,    -6,
00205     -3,    10,    12,    15,     0,     6,    16,    19,     3,     4,
00206      5,     7,    -2,     9,    10,-32768,-32768,-32768,-32768,-32768,
00207 -32768,-32768,-32768,-32768,-32768,    11,    13,    14,-32768,-32768,
00208 -32768,-32768,-32768,    20,    21,    22,    17,    25,    26,    23,
00209 -32768,    24,-32768,     2,-32768,    28,    30,    31,    33,    34,
00210     36,    18,-32768,    32,-32768,    29,-32768,    27,    35,    37,
00211     39,    40,    42,    41,-32768,    46,    43,    44,    45,    48,
00212     53,    58,    47,    49,    51,    54,-32768,-32768,    57,    74,
00213 -32768
00214 };
00215 
00216 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">short</font> yypgoto[] = {    76,
00217 -32768,-32768,-32768,-32768,    62,    63,    65,    66,    64,    67,
00218     56,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
00219 -32768
00220 };
00221 
00222 
00223 <font class="preprocessor">#define YYLAST          84</font>
00224 <font class="preprocessor"></font>
00225 
00226 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">short</font> yytable[] = {     8,
00227      9,    10,    11,     8,     9,    10,    36,    37,    38,     8,
00228      1,    10,     3,     6,    19,    20,    21,    23,    11,     9,
00229     22,    10,     8,    32,    33,    34,    60,    35,    39,     0,
00230     50,     0,    68,    41,     0,    42,    43,    52,    47,    48,
00231     49,    54,     0,    69,     0,    70,    56,    58,    62,    63,
00232     71,    64,    65,    77,    66,    67,    90,     0,    72,    74,
00233     75,    73,    76,    78,    83,    81,    79,    80,    82,    84,
00234     85,    87,    86,    91,    88,    89,    28,    26,    29,    27,
00235     40,    31,     0,    30
00236 };
00237 
00238 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">short</font> yycheck[] = {     4,
00239      5,     6,     7,     4,     5,     6,     9,    10,    11,     4,
00240      3,     6,    23,    19,    23,    23,    23,     8,     7,     5,
00241     24,     6,     4,    21,    21,    21,    25,    21,    20,    -1,
00242     14,    -1,    15,    23,    -1,    23,    23,    13,    19,    19,
00243     19,    16,    -1,    12,    -1,    17,    24,    24,    21,    20,
00244     24,    21,    20,    13,    21,    20,     0,    -1,    24,    21,
00245     21,    25,    21,    18,    12,    21,    24,    24,    21,    12,
00246     24,    21,    24,     0,    21,     0,    15,    13,    16,    14,
00247     25,    18,    -1,    17
00248 };
00249 <font class="comment">/* -*-C-*-  Note some compilers choke on comments on `#line' lines.  */</font>
00250 <font class="preprocessor">#line 3 "/usr/share/bison.simple"</font>
00251 <font class="preprocessor"></font><font class="comment">/* This file comes from bison-1.28.  */</font>
00252 
00253 <font class="comment">/* Skeleton output parser for bison,</font>
00254 <font class="comment">   Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.</font>
00255 <font class="comment"></font>
00256 <font class="comment">   This program is free software; you can redistribute it and/or modify</font>
00257 <font class="comment">   it under the terms of the GNU General Public License as published by</font>
00258 <font class="comment">   the Free Software Foundation; either version 2, or (at your option)</font>
00259 <font class="comment">   any later version.</font>
00260 <font class="comment"></font>
00261 <font class="comment">   This program is distributed in the hope that it will be useful,</font>
00262 <font class="comment">   but WITHOUT ANY WARRANTY; without even the implied warranty of</font>
00263 <font class="comment">   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</font>
00264 <font class="comment">   GNU General Public License for more details.</font>
00265 <font class="comment"></font>
00266 <font class="comment">   You should have received a copy of the GNU General Public License</font>
00267 <font class="comment">   along with this program; if not, write to the Free Software</font>
00268 <font class="comment">   Foundation, Inc., 59 Temple Place - Suite 330,</font>
00269 <font class="comment">   Boston, MA 02111-1307, USA.  */</font>
00270 
00271 <font class="comment">/* As a special exception, when this file is copied by Bison into a</font>
00272 <font class="comment">   Bison output file, you may use that output file without restriction.</font>
00273 <font class="comment">   This special exception was added by the Free Software Foundation</font>
00274 <font class="comment">   in version 1.24 of Bison.  */</font>
00275 
00276 <font class="comment">/* This is the parser code that is written into each bison parser</font>
00277 <font class="comment">  when the %semantic_parser declaration is not specified in the grammar.</font>
00278 <font class="comment">  It was written by Richard Stallman by simplifying the hairy parser</font>
00279 <font class="comment">  used when %semantic_parser is specified.  */</font>
00280 
00281 <font class="preprocessor">#ifndef YYSTACK_USE_ALLOCA</font>
00282 <font class="preprocessor"></font><font class="preprocessor">#ifdef alloca</font>
00283 <font class="preprocessor"></font><font class="preprocessor">#define YYSTACK_USE_ALLOCA</font>
00284 <font class="preprocessor"></font><font class="preprocessor">#else </font><font class="comment">/* alloca not defined */</font>
00285 <font class="preprocessor">#ifdef __GNUC__</font>
00286 <font class="preprocessor"></font><font class="preprocessor">#define YYSTACK_USE_ALLOCA</font>
00287 <font class="preprocessor"></font><font class="preprocessor">#define alloca __builtin_alloca</font>
00288 <font class="preprocessor"></font><font class="preprocessor">#else </font><font class="comment">/* not GNU C.  */</font>
00289 <font class="preprocessor">#if (!defined (__STDC__) &amp;&amp; defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) &amp;&amp; defined (__i386))</font>
00290 <font class="preprocessor"></font><font class="preprocessor">#define YYSTACK_USE_ALLOCA</font>
00291 <font class="preprocessor"></font><font class="preprocessor">#include &lt;alloca.h&gt;</font>
00292 <font class="preprocessor">#else </font><font class="comment">/* not sparc */</font>
00293 <font class="comment">/* We think this test detects Watcom and Microsoft C.  */</font>
00294 <font class="comment">/* This used to test MSDOS, but that is a bad idea</font>
00295 <font class="comment">   since that symbol is in the user namespace.  */</font>
00296 <font class="preprocessor">#if (defined (_MSDOS) || defined (_MSDOS_)) &amp;&amp; !defined (__TURBOC__)</font>
00297 <font class="preprocessor"></font><font class="preprocessor">#if 0 </font><font class="comment">/* No need for malloc.h, which pollutes the namespace;</font>
00298 <font class="comment">         instead, just don't use alloca.  */</font>
00299 <font class="preprocessor">#include &lt;malloc.h&gt;</font>
00300 <font class="preprocessor">#endif</font>
00301 <font class="preprocessor"></font><font class="preprocessor">#else </font><font class="comment">/* not MSDOS, or __TURBOC__ */</font>
00302 <font class="preprocessor">#if defined(_AIX)</font>
00303 <font class="preprocessor"></font><font class="comment">/* I don't know what this was needed for, but it pollutes the namespace.</font>
00304 <font class="comment">   So I turned it off.   rms, 2 May 1997.  */</font>
00305 <font class="comment">/* #include &lt;malloc.h&gt;  */</font>
00306 <font class="preprocessor"> #pragma alloca</font>
00307 <font class="preprocessor"></font><font class="preprocessor">#define YYSTACK_USE_ALLOCA</font>
00308 <font class="preprocessor"></font><font class="preprocessor">#else </font><font class="comment">/* not MSDOS, or __TURBOC__, or _AIX */</font>
00309 <font class="preprocessor">#if 0</font>
00310 <font class="preprocessor"></font><font class="preprocessor">#ifdef __hpux </font><font class="comment">/* haible@ilog.fr says this works for HPUX 9.05 and up,</font>
00311 <font class="comment">                 and on HPUX 10.  Eventually we can turn this on.  */</font>
00312 <font class="preprocessor">#define YYSTACK_USE_ALLOCA</font>
00313 <font class="preprocessor"></font><font class="preprocessor">#define alloca __builtin_alloca</font>
00314 <font class="preprocessor"></font><font class="preprocessor">#endif </font><font class="comment">/* __hpux */</font>
00315 <font class="preprocessor">#endif</font>
00316 <font class="preprocessor"></font><font class="preprocessor">#endif </font><font class="comment">/* not _AIX */</font>
00317 <font class="preprocessor">#endif </font><font class="comment">/* not MSDOS, or __TURBOC__ */</font>
00318 <font class="preprocessor">#endif </font><font class="comment">/* not sparc */</font>
00319 <font class="preprocessor">#endif </font><font class="comment">/* not GNU C */</font>
00320 <font class="preprocessor">#endif </font><font class="comment">/* alloca not defined */</font>
00321 <font class="preprocessor">#endif </font><font class="comment">/* YYSTACK_USE_ALLOCA not defined */</font>
00322 
00323 <font class="preprocessor">#ifdef YYSTACK_USE_ALLOCA</font>
00324 <font class="preprocessor"></font><font class="preprocessor">#define YYSTACK_ALLOC alloca</font>
00325 <font class="preprocessor"></font><font class="preprocessor">#else</font>
00326 <font class="preprocessor"></font><font class="preprocessor">#define YYSTACK_ALLOC malloc</font>
00327 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
00328 <font class="preprocessor"></font>
00329 <font class="comment">/* Note: there must be only one dollar sign in this file.</font>
00330 <font class="comment">   It is replaced by the list of actions, each action</font>
00331 <font class="comment">   as one case of the switch.  */</font>
00332 
00333 <font class="preprocessor">#define yyerrok         (yyerrstatus = 0)</font>
00334 <font class="preprocessor"></font><font class="preprocessor">#define yyclearin       (yychar = YYEMPTY)</font>
00335 <font class="preprocessor"></font><font class="preprocessor">#define YYEMPTY         -2</font>
00336 <font class="preprocessor"></font><font class="preprocessor">#define YYEOF           0</font>
00337 <font class="preprocessor"></font><font class="preprocessor">#define YYACCEPT        goto yyacceptlab</font>
00338 <font class="preprocessor"></font><font class="preprocessor">#define YYABORT         goto yyabortlab</font>
00339 <font class="preprocessor"></font><font class="preprocessor">#define YYERROR         goto yyerrlab1</font>
00340 <font class="preprocessor"></font><font class="comment">/* Like YYERROR except do call yyerror.</font>
00341 <font class="comment">   This remains here temporarily to ease the</font>
00342 <font class="comment">   transition to the new meaning of YYERROR, for GCC.</font>
00343 <font class="comment">   Once GCC version 2 has supplanted version 1, this can go.  */</font>
00344 <font class="preprocessor">#define YYFAIL          goto yyerrlab</font>
00345 <font class="preprocessor"></font><font class="preprocessor">#define YYRECOVERING()  (!!yyerrstatus)</font>
00346 <font class="preprocessor"></font><font class="preprocessor">#define YYBACKUP(token, value) \</font>
00347 <font class="preprocessor">do                                                              \</font>
00348 <font class="preprocessor">  if (yychar == YYEMPTY &amp;&amp; yylen == 1)                          \</font>
00349 <font class="preprocessor">    { yychar = (token), yylval = (value);                       \</font>
00350 <font class="preprocessor">      yychar1 = YYTRANSLATE (yychar);                           \</font>
00351 <font class="preprocessor">      YYPOPSTACK;                                               \</font>
00352 <font class="preprocessor">      goto yybackup;                                            \</font>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -