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

📄 tabu_c file reference.htm

📁 禁忌算法的源程序和一个示例的PPT演示稿 以及几个使用的关于禁忌算法的HTML文稿
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0058)http://geminga.it.nuigalway.ie/~9709864p/html/tabu_8c.html -->
<HTML><HEAD><TITLE>tabu.c File Reference</TITLE>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1><LINK 
href="tabu_c File Reference.files/doxygen.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY><!-- Generated by Doxygen 1.2.18 -->
<CENTER><A class=qindex 
href="http://geminga.it.nuigalway.ie/~9709864p/html/index.html">Main Page</A> 
&nbsp; <A class=qindex 
href="http://geminga.it.nuigalway.ie/~9709864p/html/annotated.html">Compound 
List</A> &nbsp; <A class=qindex 
href="http://geminga.it.nuigalway.ie/~9709864p/html/files.html">File List</A> 
&nbsp; <A class=qindex 
href="http://geminga.it.nuigalway.ie/~9709864p/html/functions.html">Compound 
Members</A> &nbsp; <A class=qindex 
href="http://geminga.it.nuigalway.ie/~9709864p/html/globals.html">File 
Members</A> &nbsp; </CENTER>
<HR>

<H1>tabu.c File Reference</H1><CODE>#include "<A class=el 
href="http://geminga.it.nuigalway.ie/~9709864p/html/tabu_8h-source.html">tabu.h</A>"</CODE><BR>
<P>Include dependency graph for tabu.c:
<P>
<CENTER><IMG alt="Include dependency graph" 
src="tabu_c File Reference.files/tabu_8c__incl.png" useMap=#tabu.c_map 
border=0></CENTER><MAP name=tabu.c_map><AREA shape=RECT alt="" 
  coords=121,86,169,105 
  href="http://geminga.it.nuigalway.ie/~9709864p/html/tabu_8h.html"></MAP>
<P><A 
href="http://geminga.it.nuigalway.ie/~9709864p/html/tabu_8c-source.html">Go to 
the source code of this file.</A>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
    <TD></TD></TR>
  <TR>
    <TD colSpan=2><BR>
      <H2>Functions</H2></TD></TR>
  <TR>
    <TD vAlign=top noWrap align=right>int&nbsp;</TD>
    <TD vAlign=bottom><A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/tabu_8c.html#a0">main</A> 
      (int argc, char *argv[])</TD></TR></TBODY></TABLE>
<HR>

<H2>Function Documentation</H2><A name=a0 doxytag="tabu.c::main"></A>
<P>
<TABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
  <TBODY>
  <TR>
    <TD class=md>
      <TABLE cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD class=md vAlign=top noWrap>int main </TD>
          <TD class=md vAlign=top>(&nbsp;</TD>
          <TD class=md vAlign=top noWrap>int&nbsp;</TD>
          <TD class=mdname noWrap>&nbsp; <EM>argc</EM>, </TD></TR>
        <TR>
          <TD></TD>
          <TD></TD>
          <TD class=md noWrap>char *&nbsp;</TD>
          <TD class=mdname noWrap>&nbsp; <EM>argv</EM>[]</TD></TR>
        <TR>
          <TD></TD>
          <TD class=md>)&nbsp;</TD>
          <TD class=md colSpan=2></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=5 cellPadding=0 border=0>
  <TBODY>
  <TR>
    <TD>&nbsp; </TD>
    <TD>
      <P>
      <P>Definition at line <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/tabu_8c-source.html#l00025">25</A> 
      of file <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/tabu_8c-source.html">tabu.c</A>. 

      <P>References <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/tabulist_8c-source.html#l00091">add_tabu_list()</A>, 
      <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/tabulist_8c-source.html#l00020">create_tabu_list()</A>, 
      <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/tabu__search_2fitness_8c-source.html#l00019">fitness()</A>, 
      <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/tabu__search_2getspace_8c-source.html#l00162">free_space()</A>, 
      <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/tabulist_8c-source.html#l00080">free_tabu_list()</A>, 
      <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/neighbourhood_8c-source.html#l00173">get_aspirant()</A>, 
      <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/neighbourhood_8c-source.html#l00018">get_neighbourhood()</A>, 
      <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/neighbourhood_8c-source.html#l00227">get_solution()</A>, 
      <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/tabu__search_2getspace_8c-source.html#l00011">get_space()</A>, 
      <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/tabu__search_2getdata_8c-source.html#l00015">getdata()</A>, 
      <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/tabu__search_2fitness_8c-source.html#l00185">onefitness()</A>, 
      <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/tabu__search_2initialise_8c-source.html#l00268">print_current()</A>, 
      <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/tabu__search_2initialise_8c-source.html#l00242">print_list_of_routes()</A>, 
      and <A class=el 
      href="http://geminga.it.nuigalway.ie/~9709864p/html/genetic__algorithm_2terminate_8c-source.html#l00019">time_termination()</A>. 

      <P></P>
      <DIV class=fragment><PRE>00026 {
00027 
00028 
00029 
00030         <SPAN class=keywordtype>int</SPAN> size;                       <SPAN class=comment>//This stores the size of the chromosome and/or problem</SPAN>
00031         <SPAN class=keywordtype>int</SPAN> no_vehicles;        <SPAN class=comment>//no of vehicles used</SPAN>
00032         <A class=code href="http://geminga.it.nuigalway.ie/~9709864p/html/structConstraints.html">constraints</A> constraint;     <SPAN class=comment>//This stores the alldata points and constraints</SPAN>
00033         
00034      <SPAN class=comment>//This defines a list of routes called neighbourhood which stores a list of LISTSIZE of routes and there fitness value</SPAN>
00035      <A class=code href="http://geminga.it.nuigalway.ie/~9709864p/html/structList__routes.html">list_of_routes</A> neighbourhood;

⌨️ 快捷键说明

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