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

📄 mql.tab.cpp

📁 件主要用于帮助计算机爱好者学习蚁群算法时做有关蚁群算法的试验。蚁群算法作为一种优秀的新兴的算法
💻 CPP
📖 第 1 页 / 共 5 页
字号:
# define yystype YYSTYPE /* obsolescent; will be withdrawn */# define YYSTYPE_IS_DECLARED 1# define YYSTYPE_IS_TRIVIAL 1#endif/* Copy the second part of user declarations.  *//* Line 213 of yacc.c.  */#line 281 "MQL.tab.cpp"#if ! defined (yyoverflow) || YYERROR_VERBOSE# ifndef YYFREE#  define YYFREE free# endif# ifndef YYMALLOC#  define YYMALLOC malloc# endif/* The parser invokes alloca or malloc; define the necessary symbols.  */# ifdef YYSTACK_USE_ALLOCA#  if YYSTACK_USE_ALLOCA#   ifdef __GNUC__#    define YYSTACK_ALLOC __builtin_alloca#   else#    define YYSTACK_ALLOC alloca#   endif#  endif# endif# ifdef YYSTACK_ALLOC   /* Pacify GCC's `empty if-body' warning. */#  define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)# else#  if defined (__STDC__) || defined (__cplusplus)#   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */#   define YYSIZE_T size_t#  endif#  define YYSTACK_ALLOC YYMALLOC#  define YYSTACK_FREE YYFREE# endif#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */#if (! defined (yyoverflow) \     && (! defined (__cplusplus) \	 || (defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL)))/* A type that is properly aligned for any stack member.  */union yyalloc{  short int yyss;  YYSTYPE yyvs;  };/* The size of the maximum gap between one aligned stack and the next.  */# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)/* The size of an array large to enough to hold all stacks, each with   N elements.  */# define YYSTACK_BYTES(N) \     ((N) * (sizeof (short int) + sizeof (YYSTYPE))			\      + YYSTACK_GAP_MAXIMUM)/* Copy COUNT objects from FROM to TO.  The source and destination do   not overlap.  */# ifndef YYCOPY#  if defined (__GNUC__) && 1 < __GNUC__#   define YYCOPY(To, From, Count) \      __builtin_memcpy (To, From, (Count) * sizeof (*(From)))#  else#   define YYCOPY(To, From, Count)		\      do					\	{					\	  register YYSIZE_T yyi;		\	  for (yyi = 0; yyi < (Count); yyi++)	\	    (To)[yyi] = (From)[yyi];		\	}					\      while (0)#  endif# endif/* Relocate STACK from its old location to the new one.  The   local variables YYSIZE and YYSTACKSIZE give the old and new number of   elements in the stack, and YYPTR gives the new location of the   stack.  Advance YYPTR to a properly aligned location for the next   stack.  */# define YYSTACK_RELOCATE(Stack)					\    do									\      {									\	YYSIZE_T yynewbytes;						\	YYCOPY (&yyptr->Stack, Stack, yysize);				\	Stack = &yyptr->Stack;						\	yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \	yyptr += yynewbytes / sizeof (*yyptr);				\      }									\    while (0)#endif#if defined (__STDC__) || defined (__cplusplus)   typedef signed char yysigned_char;#else   typedef short int yysigned_char;#endif/* YYFINAL -- State number of the termination state. */#define YYFINAL  3/* YYLAST -- Last index in YYTABLE.  */#define YYLAST   1684/* YYNTOKENS -- Number of terminals. */#define YYNTOKENS  85/* YYNNTS -- Number of nonterminals. */#define YYNNTS  34/* YYNRULES -- Number of rules. */#define YYNRULES  147/* YYNRULES -- Number of states. */#define YYNSTATES  426/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */#define YYUNDEFTOK  2#define YYMAXUTOK   318#define YYTRANSLATE(YYX) 						\  ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX.  */static const unsigned char yytranslate[] ={       0,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,    76,     2,     2,     2,    79,    82,     2,      64,    65,    77,    74,    71,    75,    73,    78,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,    70,      80,    72,    81,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,    68,     2,    69,    83,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,    66,    84,    67,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     2,     2,     2,     2,     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};#if YYDEBUG/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in   YYRHS.  */static const unsigned short int yyprhs[] ={       0,     0,     3,     5,     6,     9,    18,    26,    35,    43,      54,    64,    75,    85,    92,    95,   100,   102,   108,   111,     115,   117,   120,   125,   127,   131,   133,   137,   138,   141,     143,   145,   147,   149,   152,   159,   166,   172,   178,   186,     194,   204,   212,   222,   224,   226,   228,   230,   232,   234,     237,   240,   244,   247,   253,   261,   267,   275,   283,   285,     288,   292,   294,   296,   298,   300,   304,   306,   310,   315,     320,   325,   330,   334,   343,   350,   355,   360,   365,   370,     375,   382,   387,   392,   397,   402,   407,   412,   417,   422,     427,   432,   436,   441,   446,   451,   456,   463,   468,   475,     484,   491,   500,   507,   516,   523,   532,   539,   544,   549,     554,   559,   564,   571,   573,   576,   579,   582,   584,   588,     592,   596,   598,   602,   606,   608,   612,   616,   618,   622,     626,   630,   634,   636,   640,   644,   646,   650,   652,   656,     658,   662,   664,   668,   670,   674,   676,   680};/* YYRHS -- A `-1'-separated list of the rules' RHS. */static const yysigned_char yyrhs[] ={      86,     0,    -1,    87,    -1,    -1,    87,    88,    -1,     3,       3,    64,    93,    65,    66,    95,    67,    -1,     3,     3,      64,    65,    66,    95,    67,    -1,    96,     3,    64,    93,      65,    66,    95,    67,    -1,    96,     3,    64,    65,    66,      95,    67,    -1,     3,    68,    69,     3,    64,    93,    65,      66,    95,    67,    -1,     3,    68,    69,     3,    64,    65,      66,    95,    67,    -1,    96,    68,    69,     3,    64,    93,      65,    66,    95,    67,    -1,    96,    68,    69,     3,    64,      65,    66,    95,    67,    -1,    37,     3,    66,    91,    67,      70,    -1,    96,     3,    -1,    96,     3,    68,    69,    -1,      89,    -1,    96,     3,    68,     5,    69,    -1,    90,    70,      -1,    91,    90,    70,    -1,    89,    -1,     3,     3,    -1,       3,     3,    68,    69,    -1,    92,    -1,    93,    71,    92,      -1,   118,    -1,    94,    71,   118,    -1,    -1,    95,    98,      -1,     7,    -1,     8,    -1,     9,    -1,    28,    -1,    92,      70,    -1,    96,     3,    68,   118,    69,    70,    -1,     3,       3,    68,   118,    69,    70,    -1,    96,     3,    72,   118,      70,    -1,     3,     3,    72,   118,    70,    -1,     3,     3,      72,    66,    94,    67,    70,    -1,    96,     3,    68,    69,      72,   118,    70,    -1,    96,     3,    68,    69,    72,    66,      94,    67,    70,    -1,     3,     3,    68,    69,    72,   118,      70,    -1,     3,     3,    68,    69,    72,    66,    94,    67,      70,    -1,   103,    -1,   101,    -1,   102,    -1,    97,    -1,     100,    -1,    99,    -1,    34,    70,    -1,    35,    70,    -1,      36,   118,    70,    -1,    36,    70,    -1,    27,    64,   118,      65,   103,    -1,    55,    64,    98,   102,   118,    65,   103,      -1,    10,    64,   118,    65,   103,    -1,    10,    64,   118,      65,   103,    11,   103,    -1,    10,    64,   118,    65,   103,      11,   101,    -1,    70,    -1,   118,    70,    -1,    66,    95,      67,    -1,     3,    -1,     5,    -1,     6,    -1,     4,    -1,      64,   118,    65,    -1,   104,    -1,   105,    73,     3,    -1,     105,    68,   118,    69,    -1,    21,    64,   118,    65,    -1,      56,    64,   118,    65,    -1,     3,    64,    94,    65,    -1,       3,    64,    65,    -1,    38,    64,   118,    71,     3,    71,      94,    65,    -1,    38,    64,   118,    71,     3,    65,    -1,      22,    64,   118,    65,    -1,    23,    64,   118,    65,    -1,      24,    64,   118,    65,    -1,    18,    64,   118,    65,    -1,      19,    64,   118,    65,    -1,    20,    64,   118,    71,   118,      65,    -1,    29,    64,   118,    65,    -1,    30,    64,   118,      65,    -1,    31,    64,   118,    65,    -1,    32,    64,   118,      65,    -1,    33,    64,   118,    65,    -1,    39,    64,   118,      65,    -1,    40,    64,   118,    65,    -1,    41,    64,   118,      65,    -1,    42,    64,   118,    65,    -1,    43,    64,   118,      65,    -1,    44,    64,    65,    -1,    45,    64,   118,    65,      -1,    46,    64,   118,    65,    -1,    47,    64,   118,    65,      -1,    48,    64,   118,    65,    -1,    52,    64,   118,    71,     118,    65,    -1,    53,    64,   118,    65,    -1,    49,    64,     118,    71,   118,    65,    -1,    49,    64,   118,    71,   118,      71,   118,    65,    -1,    50,    64,   118,    71,   118,    65,      -1,    50,    64,   118,    71,   118,    71,   118,    65,    -1,      51,    64,   118,    71,   118,    65,    -1,    51,    64,   118,      71,   118,    71,   118,    65,    -1,    63,    64,   118,    71,     118,    65,    -1,    63,    64,   118,    71,   118,    71,   118,      65,    -1,    54,    64,   118,    71,   118,    65,    -1,    57,      64,   118,    65,    -1,    59,    64,   118,    65,    -1,    58,      64,   118,    65,    -1,    61,    64,   118,    65,    -1,    60,      64,   118,    65,    -1,    62,    64,   118,    71,   118,    65,      -1,   105,    -1,    74,   105,    -1,    75,   105,    -1,    76,     105,    -1,   106,    -1,   107,    77,   106,    -1,   107,    78,     106,    -1,   107,    79,   106,    -1,   107,    -1,   108,    74,     107,    -1,   108,    75,   107,    -1,   108,    -1,   109,    14,     108,    -1,   109,    15,   108,    -1,   109,    -1,   110,    80,     109,    -1,   110,    81,   109,    -1,   110,    16,   109,    -1,     110,    17,   109,    -1,   110,    -1,   111,    25,   110,    -1,     111,    26,   110,    -1,   111,    -1,   112,    82,   110,    -1,     112,    -1,   113,    83,   112,    -1,   113,    -1,   114,    84,     113,    -1,   114,    -1,   115,    12,   114,    -1,   115,    -1,     116,    13,   115,    -1,   116,    -1,   105,    72,   117,    -1,     117,    -1};/* YYRLINE[YYN] -- source line where rule number YYN was defined.  */static const unsigned short int yyrline[] ={       0,    96,    96,   104,   105,   110,   114,   119,   123,   128,

⌨️ 快捷键说明

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