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

📄 mql.tab.cpp

📁 件主要用于帮助计算机爱好者学习蚁群算法时做有关蚁群算法的试验。蚁群算法作为一种优秀的新兴的算法
💻 CPP
📖 第 1 页 / 共 5 页
字号:
      -1,    -1,    -1,    -1,    18,    19,    20,    21,    22,    23,      24,    -1,    -1,    -1,    -1,    29,    30,    31,    32,    33,      -1,    -1,    -1,    -1,    38,    39,    40,    41,    42,    43,      44,    45,    46,    47,    48,    49,    50,    51,    52,    53,      54,    -1,    56,    57,    58,    59,    60,    61,    62,    63,      64,     3,     4,     5,     6,    -1,    70,    -1,    -1,    -1,      74,    75,    76,    -1,    -1,    -1,    18,    19,    20,    21,      22,    23,    24,    -1,    -1,    -1,    -1,    29,    30,    31,      32,    33,    -1,    -1,    -1,    -1,    38,    39,    40,    41,      42,    43,    44,    45,    46,    47,    48,    49,    50,    51,      52,    53,    54,    -1,    56,    57,    58,    59,    60,    61,      62,    63,    64,     3,     4,     5,     6,    69,    -1,    -1,      -1,    -1,    74,    75,    76,    -1,    -1,    -1,    18,    19,      20,    21,    22,    23,    24,    -1,    -1,    -1,    -1,    29,      30,    31,    32,    33,    -1,    -1,    -1,    -1,    38,    39,      40,    41,    42,    43,    44,    45,    46,    47,    48,    49,      50,    51,    52,    53,    54,    -1,    56,    57,    58,    59,      60,    61,    62,    63,    64,    -1,    66,     3,     4,     5,       6,    -1,    -1,    -1,    74,    75,    76,    -1,    -1,    -1,      -1,    -1,    18,    19,    20,    21,    22,    23,    24,    -1,      -1,    -1,    -1,    29,    30,    31,    32,    33,    -1,    -1,      -1,    -1,    38,    39,    40,    41,    42,    43,    44,    45,      46,    47,    48,    49,    50,    51,    52,    53,    54,    -1,      56,    57,    58,    59,    60,    61,    62,    63,    64,    -1,      66,     3,     4,     5,     6,    -1,    -1,    -1,    74,    75,      76,    -1,    -1,    -1,    -1,    -1,    18,    19,    20,    21,      22,    23,    24,    -1,    -1,    -1,    -1,    29,    30,    31,      32,    33,    -1,    -1,    -1,    -1,    38,    39,    40,    41,      42,    43,    44,    45,    46,    47,    48,    49,    50,    51,      52,    53,    54,    -1,    56,    57,    58,    59,    60,    61,      62,    63,    64,     3,     4,     5,     6,    -1,    -1,    -1,      -1,    -1,    74,    75,    76,    -1,    -1,    -1,    18,    19,      20,    21,    22,    23,    24,    -1,    -1,    -1,    -1,    29,      30,    31,    32,    33,    -1,    -1,    -1,    -1,    38,    39,      40,    41,    42,    43,    44,    45,    46,    47,    48,    49,      50,    51,    52,    53,    54,    -1,    56,    57,    58,    59,      60,    61,    62,    63,    64};/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing   symbol of state STATE-NUM.  */static const unsigned char yystos[] ={       0,    86,    87,     0,     3,     7,     8,     9,    28,    37,      88,    96,     3,    68,     3,     3,    68,    64,    69,    66,      64,    69,     3,    65,    89,    92,    93,    96,     3,    89,      90,    91,    96,    65,    93,     3,     3,    66,    65,    71,       3,    64,    70,    67,    90,     3,    66,    65,    64,    68,      95,    66,    92,    68,    65,    93,    70,    70,    68,    95,      66,    65,    93,    69,     3,     4,     5,     6,    10,    18,      19,    20,    21,    22,    23,    24,    27,    29,    30,    31,      32,    33,    34,    35,    36,    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,    64,    66,    67,    70,    74,    75,    76,    92,    96,      97,    98,    99,   100,   101,   102,   103,   104,   105,   106,     107,   108,   109,   110,   111,   112,   113,   114,   115,   116,     117,   118,    95,    69,    66,    65,     5,    67,    95,    66,      65,     3,    64,    64,    64,    64,    64,    64,    64,    64,      64,    64,    64,    64,    64,    64,    64,    70,    70,     3,      70,   118,    64,    64,    64,    64,    64,    64,    64,    64,      64,    64,    64,    64,    64,    64,    64,    64,    64,    64,      64,    64,    64,    64,    64,    64,    64,    64,   118,    95,     105,   105,   105,    70,     3,    68,    72,    73,    77,    78,      79,    74,    75,    14,    15,    16,    17,    80,    81,    25,      26,    82,    83,    84,    12,    13,    70,    67,    95,    66,      69,    67,    95,    66,    68,    72,    65,    94,   118,   118,     118,   118,   118,   118,   118,   118,   118,   118,   118,   118,     118,   118,   118,    70,   118,   118,   118,   118,   118,   118,      65,   118,   118,   118,   118,   118,   118,   118,   118,   118,     118,    98,   118,   118,   118,   118,   118,   118,   118,   118,      65,    67,    68,    72,   118,   117,     3,   105,   106,   106,     106,   107,   107,   108,   108,   109,   109,   109,   109,   110,     110,   110,   112,   113,   114,   115,    67,    95,    67,    95,      69,   118,    66,   118,    65,    71,    65,    65,    65,    71,      65,    65,    65,    65,    65,    65,    65,    65,    65,    65,      71,    65,    65,    65,    65,    65,    65,    65,    65,    65,      71,    71,    71,    71,    65,    71,   102,    65,    65,    65,      65,    65,    65,    71,    71,    69,   118,   118,    69,    67,      67,    72,    69,    94,    70,   118,   103,   118,   103,     3,     118,   118,   118,   118,   118,   118,   118,   118,    72,    69,      70,    66,   118,    70,    67,    11,    65,    65,    71,    65,      71,    65,    71,    65,    71,    65,    65,    65,    65,    65,      71,    66,   118,    70,    94,    70,    70,   101,   103,    94,     118,   118,   118,   103,   118,    94,    70,    67,    65,    65,      65,    65,    65,    67,    70,    70};#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)# define YYSIZE_T __SIZE_TYPE__#endif#if ! defined (YYSIZE_T) && defined (size_t)# define YYSIZE_T size_t#endif#if ! defined (YYSIZE_T)# if defined (__STDC__) || defined (__cplusplus)#  include <stddef.h> /* INFRINGES ON USER NAME SPACE */#  define YYSIZE_T size_t# endif#endif#if ! defined (YYSIZE_T)# define YYSIZE_T unsigned int#endif#define yyerrok		(yyerrstatus = 0)#define yyclearin	(yychar = YYEMPTY)#define YYEMPTY		(-2)#define YYEOF		0#define YYACCEPT	goto yyacceptlab#define YYABORT		goto yyabortlab#define YYERROR		goto yyerrorlab/* Like YYERROR except do call yyerror.  This remains here temporarily   to ease the transition to the new meaning of YYERROR, for GCC.   Once GCC version 2 has supplanted version 1, this can go.  */#define YYFAIL		goto yyerrlab#define YYRECOVERING()  (!!yyerrstatus)#define YYBACKUP(Token, Value)					\do								\  if (yychar == YYEMPTY && yylen == 1)				\    {								\      yychar = (Token);						\      yylval = (Value);						\      yytoken = YYTRANSLATE (yychar);				\      YYPOPSTACK;						\      goto yybackup;						\    }								\  else								\    { 								\      yyerror ("syntax error: cannot back up");\      YYERROR;							\    }								\while (0)#define YYTERROR	1#define YYERRCODE	256/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].   If N is 0, then set CURRENT to the empty location which ends   the previous symbol: RHS[0] (always defined).  */#define YYRHSLOC(Rhs, K) ((Rhs)[K])#ifndef YYLLOC_DEFAULT# define YYLLOC_DEFAULT(Current, Rhs, N)				\    do									\      if (N)								\	{								\	  (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;	\	  (Current).first_column = YYRHSLOC (Rhs, 1).first_column;	\	  (Current).last_line    = YYRHSLOC (Rhs, N).last_line;		\	  (Current).last_column  = YYRHSLOC (Rhs, N).last_column;	\	}								\      else								\	{								\	  (Current).first_line   = (Current).last_line   =		\	    YYRHSLOC (Rhs, 0).last_line;				\	  (Current).first_column = (Current).last_column =		\	    YYRHSLOC (Rhs, 0).last_column;				\	}								\    while (0)#endif/* YY_LOCATION_PRINT -- Print the location on the stream.   This macro was not mandated originally: define only if we know   we won't break user code: when these are the locations we know.  */#ifndef YY_LOCATION_PRINT# if YYLTYPE_IS_TRIVIAL#  define YY_LOCATION_PRINT(File, Loc)			\     fprintf (File, "%d.%d-%d.%d",			\              (Loc).first_line, (Loc).first_column,	\              (Loc).last_line,  (Loc).last_column)# else#  define YY_LOCATION_PRINT(File, Loc) ((void) 0)# endif#endif/* YYLEX -- calling `yylex' with the right arguments.  */#ifdef YYLEX_PARAM# define YYLEX yylex (&yylval, YYLEX_PARAM)#else# define YYLEX yylex (&yylval)#endif/* Enable debugging if requested.  */#if YYDEBUG# ifndef YYFPRINTF#  include <stdio.h> /* INFRINGES ON USER NAME SPACE */#  define YYFPRINTF fprintf# endif# define YYDPRINTF(Args)			\do {						\  if (yydebug)					\    YYFPRINTF Args;				\} while (0)# define YY_SYMBOL_PRINT(Title, Type, Value, Location)		\do {								\  if (yydebug)							\    {								\      YYFPRINTF (stderr, "%s ", Title);				\      yysymprint (stderr, 					\                  Type, Value);	\      YYFPRINTF (stderr, "\n");					\    }								\} while (0)/*------------------------------------------------------------------.| yy_stack_print -- Print the state stack from its BOTTOM up to its || TOP (included).                                                   |`------------------------------------------------------------------*/#if defined (__STDC__) || defined (__cplusplus)static voidyy_stack_print (short int *bottom, short int *top)#elsestatic voidyy_stack_print (bottom, top)    short int *bottom;    short int *top;#endif{  YYFPRINTF (stderr, "Stack now");  for (/* Nothing. */; bottom <= top; ++bottom)    YYFPRINTF (stderr, " %d", *bottom);  YYFPRINTF (stderr, "\n");}# define YY_STACK_PRINT(Bottom, Top)				\do {								\  if (yydebug)							\    yy_stack_print ((Bottom), (Top));				\} while (0)/*------------------------------------------------.| Report that the YYRULE is going to be reduced.  |`------------------------------------------------*/#if defined (__STDC__) || defined (__cplusplus)static voidyy_reduce_print (int yyrule)#elsestatic voidyy_reduce_print (yyrule)    int yyrule;#endif{  int yyi;  unsigned int yylno = yyrline[yyrule];  YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ",             yyrule - 1, yylno);  /* Print the symbols being reduced, and their result.  */  for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)    YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]);  YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]

⌨️ 快捷键说明

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