Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
Toy-MT-Introduction
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
NiuTrans
Toy-MT-Introduction
Commits
d9ab6107
Commit
d9ab6107
authored
4 years ago
by
曹润柘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新 figure-example-of-t-s-generate.tex
parent
89196d24
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
97 行增加
和
127 行删除
+97
-127
Book/Chapter3/Figures/figure-example-of-t-s-generate.tex
+97
-127
没有找到文件。
Book/Chapter3/Figures/figure-example-of-t-s-generate.tex
查看文件 @
d9ab6107
%%% outline
%-------------------------------------------------------------------------
\begin{tikzpicture}
\begin{scope}
{
\node
[anchor=north west] (st) at (0,0)
{
\color
{
white
}$
\mathbf
{
s
}$}
;
\node
[anchor=north] (taut) at ([yshift=-3em]st.south)
{
\color
{
white
}
\sffamily\bfseries
{$
\tau
$}}
;
\node
[anchor=north] (phit) at ([yshift=-3em]taut.south)
{
\color
{
white
}
\sffamily\bfseries
{$
\phi
$}}
;
\node
[anchor=north] (tt) at ([yshift=-3em]phit.south)
{
\color
{
white
}$
\mathbf
{
t
}$}
;
}
{
\scriptsize
\node
[anchor=west,minimum height=2.5em,minimum width=5.5em] (sf1) at ([xshift=1em]st.east)
{}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=green!30,drop shadow] (s1) at ([xshift=2.3em]sf1.east)
{
科学家
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=green!30,drop shadow] (s2) at ([xshift=2.3em]s1.east)
{
们
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=green!30,drop shadow] (s3) at ([xshift=2.3em]s2.east)
{
并不
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=green!30,drop shadow] (s4) at ([xshift=2.3em]s3.east)
{
知道
}
;
\node
[anchor=west,minimum height=2.5em,minimum width=5.0em] (sf1) at ([xshift=1em]st.east)
{}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.0em,fill=green!30,drop shadow] (s1) at ([xshift=2.48em]sf1.east)
{
科学家
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.0em,fill=green!30,drop shadow] (s2) at ([xshift=2.19em]s1.east)
{
们
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.0em,fill=green!30,drop shadow] (s3) at ([xshift=2.185em]s2.east)
{
并不
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.0em,fill=green!30,drop shadow] (s4) at ([xshift=2.183em]s3.east)
{
知道
}
;
}
\node
[anchor=west] (tau11) at ([xshift=1.5em]taut.east)
{$
\tau
_
0
$}
;
\node
[anchor=west] (tau12) at ([xshift=-0.5em]tau11.east)
{
\tiny
{
1.NULL
}}
;
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=red!30,drop shadow] (tau1) [fit = (tau11) (tau12)]
{}
;
\node
[anchor=west] (tau11-top) at ([xshift=1.5em]taut.east)
{$
\tau
_
0
$}
;
\node
[anchor=west] (tau12-top) at ([xshift=-0.5em]tau11-top.east)
{
\tiny
{
1.NULL
}}
;
{
\scriptsize
\node
[anchor=west] (tau11) at ([xshift=1.5em]taut.east)
{$
\tau
_
0
$
\tiny
{
1.NULL
}}
;
\begin{pgfonlayer}
{
background
}
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.0em,minimum width=6.8em,fill=red!30,drop shadow] (tau1) [fit = (tau11)]
{}
;
\end{pgfonlayer}
\node
[anchor=west] (tau21) at ([xshift=1.80em]tau1.east)
{$
\tau
_
1
$}
;
\node
[anchor=west] (tau22) at ([xshift=-0.5em]tau21.north east)
{
\tiny
{
1.科学家
}}
;
\node
[anchor=west] (tau23) at ([xshift=-0.5em]tau21.south east)
{
\tiny
{
2.们
}}
;
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=blue!30,drop shadow] (tau2)[fit = (tau21) (tau22) (tau23)]
{}
;
\node
[anchor=west] (tau21-top) at ([xshift=1.8em]tau1.east)
{$
\tau
_
1
$}
;
\node
[anchor=west] (tau22-top) at ([xshift=-0.5em]tau21-top.north east)
{
\tiny
{
1.科学家
}}
;
\node
[anchor=west] (tau23-top) at ([xshift=-0.5em]tau21-top.south east)
{
\tiny
{
2.们
}}
;
\node
[anchor=west] (tau31) at ([xshift=2.05em]tau2.east)
{$
\tau
_
2
$}
;
\node
[anchor=west] (tau32) at ([xshift=-0.5em]tau31.east)
{
\tiny
{
1.NULL
}}
;
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=red!30,drop shadow] (tau3) [fit = (tau31) (tau32)]
{}
;
\node
[anchor=west] (tau31-top) at ([xshift=2.05em]tau2.east)
{$
\tau
_
2
$}
;
\node
[anchor=west] (tau32-top) at ([xshift=-0.5em]tau31-top.east)
{
\tiny
{
1.NULL
}}
;
\node
[anchor=west] (tau41) at ([xshift=2.2em]tau3.east)
{$
\tau
_
3
$}
;
\node
[anchor=west] (tau42) at ([xshift=-0.5em]tau41.east)
{
\tiny
{
1.并不
}}
;
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=red!30,drop shadow] (tau4) [fit = (tau41) (tau42)]
{}
;
\node
[anchor=west] (tau41-top) at ([xshift=2.2em]tau3.east)
{$
\tau
_
3
$}
;
\node
[anchor=west] (tau42-top) at ([xshift=-0.5em]tau41-top.east)
{
\tiny
{
1.并不
}}
;
\node
[anchor=west] (tau51) at ([xshift=2.2em]tau4.east)
{$
\tau
_
4
$}
;
\node
[anchor=west] (tau52) at ([xshift=-0.5em]tau51.east)
{
\tiny
{
1.知道
}}
;
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=red!30,drop shadow] (tau5) [fit = (tau51) (tau52)]
{}
;
\node
[anchor=west] (tau51-top) at ([xshift=2.2em]tau4.east)
{$
\tau
_
4
$}
;
\node
[anchor=west] (tau52-top) at ([xshift=-0.5em]tau51-top.east)
{
\tiny
{
1.知道
}}
;
\node
[anchor=west] (tau22) at ([yshift=-0.2em,xshift=-0.5em]tau21.north east)
{
\tiny
{
1.科学家
}}
;
\node
[anchor=west] (tau23) at ([yshift=0.2em,xshift=-0.5em]tau21.south east)
{
\tiny
{
2.们
}}
;
\begin{pgfonlayer}
{
background
}
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.0em,minimum width=6.8em,fill=blue!30,drop shadow] (tau2)[fit = (tau21) (tau22) (tau23)]
{}
;
\end{pgfonlayer}
\node
[anchor=west] (tau31) at ([xshift=2.05em]tau2.east)
{$
\tau
_
2
$
\tiny
{
1.NULL
}}
;
\begin{pgfonlayer}
{
background
}
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.0em,minimum width=6.8em,fill=red!30,drop shadow] (tau3) [fit = (tau31)]
{}
;
\end{pgfonlayer}
\node
[anchor=west] (tau41) at ([xshift=2.2em]tau3.east)
{$
\tau
_
3
$
\tiny
{
1.并不
}}
;
\begin{pgfonlayer}
{
background
}
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.0em,minimum width=6.8em,fill=red!30,drop shadow] (tau4) [fit = (tau41)]
{}
;
\end{pgfonlayer}
\node
[anchor=west] (tau51) at ([xshift=2.2em]tau4.east)
{$
\tau
_
4
$
\tiny
{
1.知道
}}
;
\begin{pgfonlayer}
{
background
}
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.0em,minimum width=6.8em,fill=red!30,drop shadow] (tau5) [fit = (tau51)]
{}
;
\end{pgfonlayer}
}
{
\node
[anchor=north] (d1) at ([yshift=-6.02em]sf1.south)
{$
...
$}
;
\node
[anchor=north] (d2) at ([yshift=-6em]s1.south)
{$
...
$}
;
...
...
@@ -56,112 +55,83 @@
\node
[anchor=north] (d5) at ([yshift=-6em]s4.south)
{$
...
$}
;
}
\draw
[->,thick,dashed] ([yshift=1em]tau1.north west) -- ([yshift=1em]tau5.north east);
\draw
[->,thick,dashed] ([yshift=-1em]tau1.south west) -- ([yshift=-1em]tau5.south east);
%第一层连线
\draw
[->,thick] (tau2.north) -- (s1.south);
\draw
[->,thick] (tau4.north) -- (s3.south);
\draw
[->,thick] (tau5.north) -- (s4.south);
\draw
[->,thick] (tau23.east) -- (s2.south);
\draw
[->,thick] ([yshift=4.1em]d2.north) -- ([yshift=0.05em]s1.south);
\draw
[->,thick] ([yshift=4.1em]d4.north) -- ([yshift=0.05em]s3.south);
\draw
[->,thick] ([yshift=4.1em]d5.north) -- ([yshift=0.05em]s4.south);
%第二层连线
\draw
[->,thick] (d1.north) -- ([yshift=-4.48em]sf1.south);
\draw
[->,thick] (d2.north) -- ([yshift=-4.45em]s1.south);
\draw
[->,thick] (d31.north) -- ([yshift=-4.45em]s2.south);
\draw
[->,thick] (d4.north) -- ([yshift=-4.45em]s3.south);
\draw
[->,thick] (d5.north) -- ([yshift=-4.45em]s4.south);
\end{scope}
{
\scriptsize
\node
[rectangle,draw,anchor=north,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=green!30,drop shadow] (ns1) at ([yshift=-13em]s1.south)
{
科学家
}
;
\node
[rectangle,draw,anchor=north,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=green!30,drop shadow] (ns2) at ([yshift=-13em]s2.south)
{
们
}
;
\node
[rectangle,draw,anchor=north,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=green!30,drop shadow] (ns3) at ([yshift=-13em]s3.south)
{
并不
}
;
\node
[rectangle,draw,anchor=north,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=green!30,drop shadow] (ns4) at ([yshift=-13em]s4.south)
{
知道
}
;
\node
[anchor=north] (ntau11) at ([yshift=-15em]tau11.south)
{$
\tau
_
0
$}
;
\node
[anchor=west] (ntau12) at ([xshift=-0.5em]ntau11.east)
{
\tiny
{
1.NULL
}}
;
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=red!30,drop shadow] (ntau1) [fit = (ntau11) (ntau12)]
{}
;
\node
[anchor=north] (ntau11-top) at ([yshift=-15em]tau11.south)
{$
\tau
_
0
$}
;
\node
[anchor=west] (ntau12-top) at ([xshift=-0.5em]ntau11-top.east)
{
\tiny
{
1.NULL
}}
;
\node
[anchor=west] (ntau21) at ([xshift=1.8em]ntau1.east)
{$
\tau
_
1
$}
;
\node
[anchor=west] (ntau22) at ([xshift=-0.5em]ntau21.north east)
{
\tiny
{
1.们
}}
;
\node
[anchor=west] (ntau23) at ([xshift=-0.5em]ntau21.south east)
{
\tiny
{
2.科学家
}}
;
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=yellow!30,drop shadow] (ntau2)[fit = (ntau21) (ntau22) (ntau23)]
{}
;
\node
[anchor=west] (ntau21-top) at ([xshift=1.8em]ntau1.east)
{$
\tau
_
1
$}
;
\node
[anchor=west] (ntau22-top) at ([xshift=-0.5em]ntau21-top.north east)
{
\tiny
{
1.们
}}
;
\node
[anchor=west] (ntau23-top) at ([xshift=-0.5em]ntau21-top.south east)
{
\tiny
{
2.科学家
}}
;
\node
[anchor=west] (ntau31) at ([xshift=2.05em]ntau2.east)
{$
\tau
_
2
$}
;
\node
[anchor=west] (ntau32) at ([xshift=-0.5em]ntau31.east)
{
\tiny
{
1.NULL
}}
;
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=red!30,drop shadow] (ntau3) [fit = (ntau31) (ntau32)]
{}
;
\node
[anchor=west] (ntau31-top) at ([xshift=2.05em]ntau2.east)
{$
\tau
_
2
$}
;
\node
[anchor=west] (ntau32-top) at ([xshift=-0.5em]ntau31-top.east)
{
\tiny
{
1.NULL
}}
;
\node
[anchor=west] (ntau41) at ([xshift=2.2em]ntau3.east)
{$
\tau
_
3
$}
;
\node
[anchor=west] (ntau42) at ([xshift=-0.5em]ntau41.east)
{
\tiny
{
1.并不
}}
;
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=red!30,drop shadow] (ntau4) [fit = (ntau41) (ntau42)]
{}
;
\node
[anchor=west] (ntau41-top) at ([xshift=2.2em]ntau3.east)
{$
\tau
_
3
$}
;
\node
[anchor=west] (ntau42-top) at ([xshift=-0.5em]ntau41-top.east)
{
\tiny
{
1.并不
}}
;
\node
[anchor=west] (ntau51) at ([xshift=2.2em]ntau4.east)
{$
\tau
_
4
$}
;
\node
[anchor=west] (ntau52) at ([xshift=-0.5em]ntau51.east)
{
\tiny
{
1.知道
}}
;
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=red!30,drop shadow] (ntau5) [fit = (ntau51) (ntau52)]
{}
;
\node
[anchor=west] (ntau51-top) at ([xshift=2.2em]ntau4.east)
{$
\tau
_
4
$}
;
\node
[anchor=west] (ntau52-top) at ([xshift=-0.5em]ntau51-top.east)
{
\tiny
{
1.知道
}}
;
\node
[anchor=west,minimum height=2.5em,minimum width=5.0em] (sf12) at ([yshift=-15.0em,xshift=1em]st.east)
{}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.0em,fill=green!30,drop shadow] (s12) at ([xshift=2.48em]sf12.east)
{
科学家
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.0em,fill=green!30,drop shadow] (s22) at ([xshift=2.19em]s12.east)
{
们
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.0em,fill=green!30,drop shadow] (s32) at ([xshift=2.185em]s22.east)
{
并不
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.0em,fill=green!30,drop shadow] (s42) at ([xshift=2.183em]s32.east)
{
知道
}
;
}
{
\scriptsize
\node
[anchor=west] (tau112) at ([yshift=-15.0em,xshift=1.5em]taut.east)
{$
\tau
_
0
$
\tiny
{
1.NULL
}}
;
\begin{pgfonlayer}
{
background
}
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.0em,minimum width=6.8em,fill=red!30,drop shadow] (tau12) [fit = (tau112)]
{}
;
\end{pgfonlayer}
\node
[anchor=west] (tau212) at ([xshift=1.80em]tau12.east)
{$
\tau
_
1
$}
;
\node
[anchor=west] (tau222) at ([yshift=-0.2em,xshift=-0.5em]tau212.north east)
{
\tiny
{
1.们
}}
;
\node
[anchor=west] (tau232) at ([yshift=0.2em,xshift=-0.5em]tau212.south east)
{
\tiny
{
2.科学家
}}
;
\begin{pgfonlayer}
{
background
}
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.0em,minimum width=6.8em,fill=yellow!30,drop shadow] (tau22)[fit = (tau212) (tau222) (tau232)]
{}
;
\end{pgfonlayer}
\node
[anchor=west] (tau312) at ([xshift=2.05em]tau22.east)
{$
\tau
_
2
$
\tiny
{
1.NULL
}}
;
\begin{pgfonlayer}
{
background
}
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.0em,minimum width=6.8em,fill=red!30,drop shadow] (tau32) [fit = (tau312)]
{}
;
\end{pgfonlayer}
\node
[anchor=west] (tau412) at ([xshift=2.2em]tau32.east)
{$
\tau
_
3
$
\tiny
{
1.并不
}}
;
\begin{pgfonlayer}
{
background
}
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.0em,minimum width=6.8em,fill=red!30,drop shadow] (tau42) [fit = (tau412)]
{}
;
\end{pgfonlayer}
\node
[anchor=west] (tau512) at ([xshift=2.2em]tau42.east)
{$
\tau
_
4
$
\tiny
{
1.知道
}}
;
\begin{pgfonlayer}
{
background
}
\node
[rounded rectangle,draw,line width=1pt,minimum height=3.0em,minimum width=6.8em,fill=red!30,drop shadow] (tau52) [fit = (tau512)]
{}
;
\end{pgfonlayer}
}
{
{
\node
[anchor=north] (nd1) at ([yshift=-11.01em]d1.south)
{$
...
$}
;
\node
[anchor=north] (nd2) at ([yshift=-11em]d2.south)
{$
...
$}
;
\node
[anchor=north] (nd31) at ([yshift=-11em]d31.south)
{$
...
$}
;
\node
[anchor=north] (nd32) at ([xshift=0.2em]nd31.south)
{
\footnotesize
{${
<
{
\tau
,
\pi
}
>
}_
2
$}}
;
\node
[anchor=north] (nd4) at ([yshift=-11em]d4.south)
{$
...
$}
;
\node
[anchor=north] (nd5) at ([yshift=-11em]d5.south)
{$
...
$}
;
\node
[anchor=north] (d12) at ([yshift=-6.02em]sf12.south)
{$
...
$}
;
\node
[anchor=north] (d22) at ([yshift=-6em]s12.south)
{$
...
$}
;
\node
[anchor=north] (d312) at ([yshift=-6em]s22.south)
{$
...
$}
;
\node
[anchor=north] (d322) at ([xshift=0.2em]d312.south)
{
\footnotesize
{${
<
{
\tau
,
\pi
}
>
}_
2
$}}
;
\node
[anchor=north] (d42) at ([yshift=-6em]s32.south)
{$
...
$}
;
\node
[anchor=north] (d52) at ([yshift=-6em]s42.south)
{$
...
$}
;
}
\draw
[->,thick,dashed] ([yshift=1em]ntau1.north west) -- ([yshift=1em]ntau5.north east);
\draw
[->,thick,dashed] ([yshift=-1em]ntau1.south west) -- ([yshift=-1em]ntau5.south east);
\draw
[->,thick,dashed] ([yshift=1em]tau12.north west) -- ([yshift=1em]tau52.north east);
\draw
[->,thick,dashed] ([yshift=-1em]tau12.south west) -- ([yshift=-1em]tau52.south east);
%第一层连线
\draw
[->,thick] (tau22.north) -- (s12.south);
\draw
[->,thick] (tau42.north) -- (s32.south);
\draw
[->,thick] (tau52.north) -- (s42.south);
\draw
[->,thick] (tau232.east) -- (s22.south);
%第二层连线
\draw
[->,thick] (d12.north) -- ([yshift=-4.48em]sf12.south);
\draw
[->,thick] (d22.north) -- ([yshift=-4.45em]s12.south);
\draw
[->,thick] (d312.north) -- ([yshift=-4.45em]s22.south);
\draw
[->,thick] (d42.north) -- ([yshift=-4.45em]s32.south);
\draw
[->,thick] (d52.north) -- ([yshift=-4.45em]s42.south);
%\end{scope}
\draw
[->,thick] (ntau23.east) -- (ns2.south);
\draw
[->,thick] ([yshift=4.1em]nd2.north) -- ([yshift=0.05em]ns1.south);
\draw
[->,thick] ([yshift=4.1em]nd4.north) -- ([yshift=0.05em]ns3.south);
\draw
[->,thick] ([yshift=4.1em]nd5.north) -- ([yshift=0.05em]ns4.south);
\draw
[->,thick] (nd1.north) -- ([yshift=-16.37em]sf1.south);
\draw
[->,thick] (nd2.north) -- ([yshift=-16.35em]s1.south);
\draw
[->,thick] (nd31.north) -- ([yshift=-16.35em]s2.south);
\draw
[->,thick] (nd4.north) -- ([yshift=-16.35em]s3.south);
\draw
[->,thick] (nd5.north) -- ([yshift=-16.35em]s4.south);
}
}
\end{tikzpicture}
%---------------------------------------------------------------------
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论