Skip to content

Commit 5bc7e16

Browse files
committed
update paint shop example
1 parent 26372b4 commit 5bc7e16

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

examples/PaintShop.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,18 @@ show_graph(graph; locs=locations, texts=string.(sequence), edge_colors=
4545
# For each black edges ``(i, i+1)``, we define an edge tensor labeld by ``(s_{c_i}, s_{c_{i+1}})`` as follows:
4646
# If both cars on this edge are their first or second appearance
4747
# ```math
48-
# B^{\rm parallel} = \begin{matrix}
48+
# B^{\rm parallel} = \left(\begin{matrix}
4949
# x & 1 \\
5050
# 1 & x \\
51-
# \end{matrix},
51+
# \end{matrix}\right),
52+
# ```
5253
#
5354
# otherwise,
54-
# B^{\rm anti-parallel} = B^{\rm 10} = \begin{matrix}
55+
# ```math
56+
# B^{\rm anti-parallel} = \left(\begin{matrix}
5557
# 1 & x \\
5658
# x & 1 \\
57-
# \end{matrix}.
59+
# \end{matrix}\right).
5860
# ```
5961
# It can be understood as, when both cars are their first appearance,
6062
# they tend to have the same configuration so that the color is not changed.

0 commit comments

Comments
 (0)