Skip to content

Commit

Permalink
try to fix latex
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongbeer committed Mar 6, 2017
1 parent 0f77002 commit 22676eb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = 'zh_CN'
# language = 'zh_CN'

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
Expand Down Expand Up @@ -245,7 +245,7 @@
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#
#'papersize': 'letterpaper',
'papersize': 'letterpaper',

# The font size ('10pt', '11pt' or '12pt').
#
Expand All @@ -263,10 +263,10 @@
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
#latex_documents = [
# (master_doc, 'Eins.tex', u'Eins Documentation',
# u'xiongbeer', 'manual'),
#]
latex_documents = [
(master_doc, 'Eins.tex', u'Eins Documentation',
u'xiongbeer', 'manual'),
]

# The name of an image file (relative to this directory) to place at the top of
# the title page.
Expand Down
8 changes: 4 additions & 4 deletions doc/source/mathmodel/00_Assumptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
-----

更新车辆的边界条件
^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^

这里提供两种默认的边界条件:

1. 周期性边界条件(periodical boundary):
1. 周期性边界条件(periodical boundary):
在每次更新结束后,监测道路上头车的位置 x\ :sub:`lead`\ ,如果 x\ :sub:`lead`\ > l\ :sub:`road`\ ,那么这辆车将从道路的另一端进入系统,变成道路上的尾车,并且 x\ :sub:`last`\ = x\ :sub:`lead`\ - l\ :sub:`road`\ , v\ :sub:`last`\ = v\ :sub:`lead`\ 。这里,x\ :sub:`lead`\ , x\ :sub:`last`\ , v\ :sub:`lead`\ , v\ :sub:`last`\分别表示道路上头车和尾车的位置和速度,Lroad代表所研究的道路系统的长度。
2. 开口边界性条件(open boundary):

2. 开口边界性条件(open boundary):
假设道路最左边的元胞对应于x = 1,并且道路的入口端包含Vmax个元胞,也就是说,车辆可以从元胞(1,2,... v\ :sub:`max`\ )进入到道路中。在 t->t+1 时刻,当道路上的车辆更新完成后,监测道路上的头车和尾车的位置x\ :sub:`lead`\和x\ :sub:`last`\。如果x\ :sub:`last`\>v\ :sub:`max`\,则一辆速度为v\ :sub:`max`\的车将以概率α进入元胞min(x\ :sub:`last`\-v\ :sub:`max`\, v\ :sub:`max`\)。在道路的出口处,如果x\ :sub:`lead`\ > l\ :sub:`road`\,那么道路上的头车以概率β驶出路段,而紧跟其后的第二辆车成为新的头车。

.. note::
Expand Down

0 comments on commit 22676eb

Please sign in to comment.