Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
mtbookv2
概览
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
mtbookv2
Commits
7e5fd6b6
Commit
7e5fd6b6
authored
Sep 08, 2020
by
xiaotong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better design
parent
a55bf20d
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
32 行增加
和
47 行删除
+32
-47
Chapter8/Figures/figure-example-of-hyper-graph.tex
+9
-9
Chapter8/Figures/figure-structure-of-chart.tex
+23
-38
没有找到文件。
Chapter8/Figures/figure-example-of-hyper-graph.tex
查看文件 @
7e5fd6b6
...
...
@@ -3,34 +3,34 @@
\begin{center}
\begin{tikzpicture}
\footnotesize
\begin{scope}
[scale=0.7]
\node
[anchor=center,draw,
thick,circle,inner sep=13pt,ublue
] (s1) at (0,0)
{}
;
\node
[anchor=center,draw,
very thick,circle,inner sep=13pt,ublue,fill=white,drop shadow
] (s1) at (0,0)
{}
;
\node
[anchor=north] (t11) at ([yshift=-0.8em]s1.north)
{
VP
}
;
\node
[anchor=north] (t12) at ([yshift=-0.3em]t11.south)
{
[0,2]
}
;
\node
[anchor=center,draw,
thick,circle,inner sep=13pt,ublue] (s2) at ([xshift=12em,yshift=-
5em]s1.north)
{}
;
\node
[anchor=center,draw,
very thick,circle,inner sep=13pt,ublue,fill=white,drop shadow] (s2) at ([xshift=12em,yshift=-3.
5em]s1.north)
{}
;
\node
[anchor=north] (t21) at ([yshift=-0.8em]s2.north)
{
NP
}
;
\node
[anchor=north] (t22) at ([yshift=-0.3em]t21.south)
{
[0,2]
}
;
\node
[anchor=center,draw,
thick,circle,inner sep=13pt,ublue
] (s3) at ([xshift=-6em,yshift=-13em]s1.south)
{}
;
\node
[anchor=center,draw,
very thick,circle,inner sep=13pt,ublue,fill=white,drop shadow
] (s3) at ([xshift=-6em,yshift=-13em]s1.south)
{}
;
\node
[anchor=north] (t31) at ([yshift=-0.8em]s3.north)
{
VV
}
;
\node
[anchor=north] (t32) at ([yshift=-0.3em]t31.south)
{
[0,1]
}
;
\node
[anchor=center,draw,
thick,circle,inner sep=13pt,ublue
] (s4) at ([xshift=13em,yshift=2.9em]s3.south)
{}
;
\node
[anchor=center,draw,
very thick,circle,inner sep=13pt,ublue,fill=white,drop shadow
] (s4) at ([xshift=13em,yshift=2.9em]s3.south)
{}
;
\node
[anchor=north] (t41) at ([yshift=-0.8em]s4.north)
{
NN
}
;
\node
[anchor=north] (t42) at ([yshift=-0.3em]t41.south)
{
[1,2]
}
;
\node
[anchor=center,draw,
thick,circle,inner sep=13pt,ublue
] (s5) at ([xshift=13em,yshift=2.9em]s4.south)
{}
;
\node
[anchor=center,draw,
very thick,circle,inner sep=13pt,ublue,fill=white,drop shadow
] (s5) at ([xshift=13em,yshift=2.9em]s4.south)
{}
;
\node
[anchor=north] (t51) at ([yshift=-0.8em]s5.north)
{
NP
}
;
\node
[anchor=north] (t52) at ([yshift=-0.3em]t51.south)
{
[1,2]
}
;
{
\draw
[->,red!
50,very thick] ([xshift=-1em,yshift=-0.3em]s3.north) .. controls +(north:10em) and +(south:10em) .. ([xshift=0em,yshift=0
em]s1.south);
\draw
[->,red!
50,very thick] ([xshift=-1em,yshift=-0.3em]s5.north) .. controls +(north:8em) and +(south:14em) .. ([xshift=0em,yshift=0
em]s1.south);
\draw
[->,red!
60,very thick] ([yshift=0.1em]s3.100) .. controls +(north:8em) and +(south:10em) .. ([xshift=0em,yshift=-0.2
em]s1.south);
\draw
[->,red!
60,very thick] ([yshift=0.1em]s5.110) .. controls +(north:8em) and +(south:12em) .. ([xshift=0em,yshift=-0.2
em]s1.south);
}
{
\draw
[->,
blue!50,very thick] ([xshift=-1em,yshift=-0.3em]s4.north) .. controls +(north:8em) and +(south:8em) .. ([xshift=0em,yshift=0
em]s2.south);
\draw
[->,
blue!50,very thick] ([xshift=1em,yshift=-0.3em]s5.north) .. controls +(north:9em) and +(south:7em) .. ([xshift=0em,yshift=0
em]s2.south);
\draw
[->,
ugreen,very thick] ([yshift=0.1em]s4.90) .. controls +(north:9em) and +(south:7em) .. ([xshift=0em,yshift=-0.2
em]s2.south);
\draw
[->,
ugreen,very thick] ([yshift=0.1em]s5.90) .. controls +(north:9em) and +(south:7em) .. ([xshift=0em,yshift=-0.2
em]s2.south);
}
\node
[anchor=north] (t51) at ([yshift=7em]s3.north)
{
edge1
}
;
...
...
Chapter8/Figures/figure-structure-of-chart.tex
查看文件 @
7e5fd6b6
...
...
@@ -2,45 +2,30 @@
%%% 基于树的解码方法 - chart-based decoding
\begin{center}
\begin{tikzpicture}
\begin{scope}
%[scale=0.2]
\node
[anchor=north] (ch) at (0,0)
{
\large
{
\textbf
{
Chart
}}}
;
\begin{scope}
\node
[anchor=south west,draw,fill=ugreen!20,minimum width=2.8em,minimum height=2.8em,inner sep=1pt] (cell11) at (0,0)
{
\scriptsize
{
cell[1,2]
}}
;
\node
[anchor=south west,draw,fill=red!20,minimum width=2.8em,minimum height=2.8em,inner sep=1pt] (cell12) at (cell11.south east)
{
\scriptsize
{
cell[0,2]
}}
;
\node
[anchor=south west,draw,fill=orange!30,minimum width=2.8em,minimum height=2.8em,inner sep=1pt] (cell21) at (cell11.north west)
{
\scriptsize
{
cell[0,1]
}}
;
\node
[anchor=south west,draw,fill=gray!20,minimum width=2.8em,minimum height=2.8em,inner sep=1pt] (cell22) at (cell21.south east)
{
\scriptsize
{
N/A
}}
;
\draw
[->,thick] ([xshift=-1em,yshift=1em]cell21.north west)--([xshift=-1em,yshift=-1em]cell11.south west);
\draw
[->,thick] ([xshift=-1em,yshift=1em]cell21.north west)--([xshift=1em,yshift=1em]cell22.north east);
\node
[anchor=north west,fill=orange!30,draw,drop shadow,align=left,minimum width=4em] (cell11label) at ([xshift=4em,yshift=1em]cell22.north east)
{
\footnotesize
{
VV[0,1]
}}
;
\node
[anchor=north west,fill=ugreen!20,draw,drop shadow,align=left,minimum width=4em] (cell12label) at ([yshift=-1em]cell11label.south west)
{
\footnotesize
{
NN[1,2]
}
\\\footnotesize
{
NP[1,2]
}}
;
\node
[anchor=north west,fill=red!20,draw,drop shadow,align=left,minimum width=4em] (cell21label) at ([yshift=-1em]cell12label.south west)
{
\footnotesize
{
VP[0,2]
}
\\\footnotesize
{
NP[0,2]
}}
;
\draw
[->,very thick,dotted] ([yshift=0.3em]cell11label.west) .. controls +(west:2em) and +(north:1.5em) .. ([xshift=1em,yshift=-0.5em]cell21.north);
\draw
[->,very thick,dotted] ([yshift=-0.5em]cell12label.west) -- ([yshift=-0.5em,xshift=-7.5em]cell12label.west);
\draw
[->,very thick,dotted] ([yshift=-0.3em]cell21label.west) .. controls +(west:2em) and +(south:1.5em) .. ([xshift=1em,yshift=0.5em]cell12.south);
\node
[anchor=south] (label1) at ([yshift=1em]cell21.north east)
{
\footnotesize
{
跨度大小
}}
;
\node
[anchor=north] (l21) at ([xshift=-2.0em,yshift=1em]cell21.west)
{
\footnotesize
{
起
}}
;
\node
[anchor=north] (l22) at ([xshift=0em,yshift=0.5em]l21.south)
{
\footnotesize
{
始
}}
;
\node
[anchor=north] (l23) at ([xshift=0em,yshift=0.5em]l22.south)
{
\footnotesize
{
位
}}
;
\node
[anchor=north] (l24) at ([xshift=0em,yshift=0.5em]l23.south)
{
\footnotesize
{
置
}}
;
\node
[anchor=north] (labelchart) at (cell11.south east)
{
\small
{
Chart(表格)
}}
;
\draw
[->,ublue] ([xshift=-1em,yshift=-1em]ch.south) -- ([xshift=-1em,yshift=-9em]ch.south);
\draw
[->,ublue] ([xshift=-1em,yshift=-1em]ch.south) -- ([xshift=10em,yshift=-1em]ch.south);
{
\small
\node
[anchor=north] (l11) at ([xshift=-1.7em,yshift=-2.5em]ch.south)
{{
起
}}
;
\node
[anchor=north] (l12) at ([xshift=0em,yshift=0.5em]l11.south)
{{
始
}}
;
\node
[anchor=north] (l13) at ([xshift=0em,yshift=0.5em]l12.south)
{{
位
}}
;
\node
[anchor=north] (l14) at ([xshift=0em,yshift=0.5em]l13.south)
{{
置
}}
;
\node
[anchor=north] (l2) at ([xshift=4.5em,yshift=0.4em]ch.south)
{{
跨度大小
}}
;
}
\draw
[-,ublue] ([xshift=1em,yshift=-2em]ch.south) -- ([xshift=1em,yshift=-8em]ch.south);
\draw
[-,ublue] ([xshift=5em,yshift=-2em]ch.south) -- ([xshift=5em,yshift=-8em]ch.south);
\draw
[-,ublue] ([xshift=9em,yshift=-2em]ch.south) -- ([xshift=9em,yshift=-8em]ch.south);
\draw
[-,ublue] ([xshift=1em,yshift=-2em]ch.south) -- ([xshift=9em,yshift=-2em]ch.south);
\draw
[-,ublue] ([xshift=1em,yshift=-5em]ch.south) -- ([xshift=9em,yshift=-5em]ch.south);
\draw
[-,ublue] ([xshift=1em,yshift=-8em]ch.south) -- ([xshift=9em,yshift=-8em]ch.south);
\node
[anchor=north,rectangle,draw=red!40, inner sep=0mm,minimum height=4em,minimum width=9em,rounded corners=2pt,very thick] (n1) at ([xshift=18em,yshift=2em]ch.south)
{}
;
\node
[anchor=north,rectangle,draw=red!40, inner sep=0mm,minimum height=4em,minimum width=9em,rounded corners=2pt,very thick] (n2) at ([xshift=0em,yshift=-0.5em]n1.south)
{}
;
\node
[anchor=north,rectangle,draw=red!40, inner sep=0mm,minimum height=4em,minimum width=9em,rounded corners=2pt,very thick] (n3) at ([xshift=0em,yshift=-0.5em]n2.south)
{}
;
\node
[anchor=north] (n11) at ([xshift=0em,yshift=-0.5em]n1.north)
{
Cell[0,1]:
}
;
\node
[anchor=north] (n12) at ([xshift=1em,yshift=-1.2em]n11.north)
{
VV[0,1]
}
;
\node
[anchor=north] (n21) at ([xshift=0em,yshift=-0.1em]n2.north)
{
Cell[1,2]:
}
;
\node
[anchor=north] (n22) at ([xshift=1em,yshift=-1.2em]n21.north)
{
NN[1,2]
}
;
\node
[anchor=north] (n23) at ([xshift=0em,yshift=-1.3em]n22.north)
{
NP[1,2]
}
;
\node
[anchor=north] (n31) at ([xshift=0em,yshift=-0.1em]n3.north)
{
Cell[0,2]:
}
;
\node
[anchor=north] (n32) at ([xshift=1em,yshift=-1.2em]n31.north)
{
VP[0,2]
}
;
\node
[anchor=north] (n33) at ([xshift=0em,yshift=-1.3em]n32.north)
{
NP[0,2]
}
;
\draw
[->,blue!40,very thick] ([xshift=0em,yshift=-0.5em]n1.west) .. controls +(west:6em) and +(north:3em) .. ([xshift=-15em,yshift=-2em]n1.south);
\draw
[->,blue!40,very thick] ([xshift=0em,yshift=1em]n2.west) .. controls +(west:2em) and +(north:2em) .. ([xshift=-14.5em,yshift=0em]n2.south);
\draw
[->,blue!40,very thick] ([xshift=0em,yshift=-0.5em]n3.west) .. controls +(west:5em) and +(south:0.5em) .. ([xshift=-12em,yshift=5em]n3.south);
\end{scope}
\end{tikzpicture}
\end{center}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论