当前位置: 首页 > news >正文

长沙网站建站推广百度网站是什么

长沙网站建站推广,百度网站是什么,flask做大型网站开发,如何用代码做分数查询的网站文章目录 1.算法伪代码流程图----循环带范围1.1.算法伪代码示例图11.2.算法伪代码示例图2 2.算法伪代码流程图----循环不带范围3.算法伪代码流程图---不带行数数字4.参考文献 1.算法伪代码流程图----循环带范围 #需要插入这个宏包 \usepackage[ruled,linesnumbered]{algorithm…

文章目录

    • 1.算法伪代码流程图----循环带范围
      • 1.1.算法伪代码示例图1
      • 1.2.算法伪代码示例图2
    • 2.算法伪代码流程图----循环不带范围
    • 3.算法伪代码流程图---不带行数数字
    • 4.参考文献

1.算法伪代码流程图----循环带范围

#需要插入这个宏包
\usepackage[ruled,linesnumbered]{algorithm2e}

1.1.算法伪代码示例图1

在这里插入图片描述

\begin{algorithm}[H]\caption{How to write algorithms}\KwIn{this text}\KwOut{how to write algorithm with \LaTeX2e }initialization\;\While{not at end of this document}{read current\;\eIf{understand}{go to next section\;current section becomes this one\;}{go back to the beginning of current section\;}}
\end{algorithm}

1.2.算法伪代码示例图2

在这里插入图片描述

\begin{algorithm}\caption{identifyRowContext}\KwIn{$r_i$, $Backgrd(T_i)$=${T_1, T_2, \ldots, T_n}$ and similarity threshold $\theta_r$}\KwOut{$con(r_i)$}$con(r_i) = \Phi$\;\For{$j = 1; j \le n; j \ne i$}{float $maxSim = 0$\;$r^{maxSim} = \text{null}$\;\While{not end of $T_j$}{compute Jaro($r_i, r_m$) ($r_m \in T_j$)\;\If{$(Jaro(r_i, r_m) \ge \theta_r) \wedge (Jaro(r_i, r_m) \ge r^{maxSim})$}{replace $r^{maxSim}$ with $r_m$\;}}$con(r_i) = con(r_i) \cup \{r^{maxSim}\}$\;}\Return $con(r_i)$\;
\end{algorithm}

2.算法伪代码流程图----循环不带范围

#需要导入以下信息
\usepackage{algorithm}  
\usepackage{algpseudocode}
\renewcommand{\algorithmicrequire}{\textbf{Input:}}  % Use Input in the format of Algorithm
\renewcommand{\algorithmicensure}{\textbf{Output:}} % Use Output in the format of Algorithm

在这里插入图片描述


\begin{algorithm}[h]\caption{Pseudocode of Simulated Annealing Algorithm} % 名称\begin{algorithmic}[1]\Require$x_0$: initial individual or state;$T_0$: a high enough initial temperature;$T_{min}$: the lowest limit of temperature;\Ensureoptimal state or approximate optimal state;\State set $x_0 = x_{best}$, compute initial energy function $E(x_0)$;\While {$T > T_{min}$}\For{$i = 1$; $i<n$; $i++$ }\State perturb current state $x_i$ for a new state $x_{new}$ and compute energy function $E(x_{new})$;\State compute $\Delta$ = $E(x_{new}-E(x_{(i)})$;\If {$\Delta$$E<0$} \State $x_{best} = x_{new}$\Else \State the probability $P = exp(-dE/T_{(i)})$;\If {$rand(0,1) < P$ }\State $x_{best} = x_{new}$\Else \State $x_{best} = x_{best}$\EndIf\EndIf\EndFor\State $T = T * $ $ \alpha$, where $\alpha$ is decay factor  ;\EndWhile\end{algorithmic}
\end{algorithm}

3.算法伪代码流程图—不带行数数字

#需要导入以下宏包
\usepackage{algorithm,algorithmic}

在这里插入图片描述

\begin{algorithm}[!ht]\caption{Power method}\label{power1}\begin{algorithmic} % 控制是否有序号\STATE step 1: $a = b-1;$\STATE step 2: $c = a+b;$\STATE step 3: $a = a+b;$\STATE step 4: $b= a+b;$\STATE step 5: $f= a+b;$\end{algorithmic}
\end{algorithm}

4.参考文献

[1].https://zhuanlan.zhihu.com/p/266241159
[2].https://blog.csdn.net/frx_bwcx/article/details/120641816
[3].https://blog.csdn.net/lovehuishouzan/article/details/126797276
[4].https://blog.csdn.net/qq_44425179/article/details/131591951
[5].https://zhuanlan.zhihu.com/p/618711187
http://www.hkea.cn/news/365466/

相关文章:

  • 网站引导页面制作的四个任务名称推广引流的10个渠道
  • 南宁网站建设制作后台网站关键词优化价格
  • 微信小程序商城制作公司宁波seo推广服务
  • 响应式购物网站公司seo是什么意思
  • 360未经证实的网站如何做电商运营方案
  • 网站建设类公司排名营销方案范文100例
  • 郑州网站设计 郑州网站开发网络优化有前途吗
  • 黑河做网站首页关键词排名优化
  • 网站二级域名怎么解析公司网络搭建
  • wordpress做网店win10优化大师是官方的吗
  • 弄个做网站公司产品宣传
  • 商品房建设信息网站googleplay商店
  • 菏泽 网站建设优化工具箱
  • 网站建设找哪家公司百度搜索热度
  • 网页设计论文引言北海百度seo
  • 网站空间哪家做的好网络营销的常用工具
  • 网站开发具体问题优化营商环境
  • wordpress4.5 火车头廊坊seo培训
  • 怎么做多个网站单点登录艺考培训
  • 网站怎么做双语种seo关键词如何设置
  • 用java做的游戏下载网站有哪些内容成都网络推广优化
  • 慈溪市网站建设google官网
  • 网站建设计划seo网站排名优化软件是什么
  • 大连网站建设谁家好郴州网站定制
  • 网站建设背景怎么写一个企业该如何进行网络营销
  • 为女朋友做的表白网站百度大数据分析工具
  • 上海高端网站建设服务公seo推广公司
  • 找人合伙做网站平台仿站定制模板建站
  • 深圳市网站建设科技公司腾讯网网站网址
  • wordpress语言文件夹seo销售好做吗