Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Software
CoPaR
Commits
2008c0af
Commit
2008c0af
authored
Oct 28, 2020
by
Thorsten Wißmann
🐧
Browse files
Add T-Beg example markov chain
parent
938d0bd9
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
examples/tbeg-dist-paper
0 → 100644
View file @
2008c0af
(R^X)^{a,b}
# actually the functor is: (DX+1)^{a,b}
# but I want to keep the notation short, and fortunately, DX+1 is a subfunctor
# of R^X
#
# Figure 4 of
#
# Explaining Non-bisimilarity in a Coalgebraic Approach: Games and Distinguishing Formulas
# Barbara König , Christina Mika-Michalski, and Lutz Schröder
# in CMCS 2020 (D. Petrişan and J. Rot (Eds.): CMCS 2020, LNCS 12094, pp. 133–154, 2020.)
#
# The file is also shipped with the TBeg-Utility
# https://www.uni-due.de/theoinf/research/tools_tbeg.php
#
# The present file has been generated from the following python script:
#
# n = 5 # number states
# A = "ab" # list of letters
# A_ = len(A)
# s = '0.3,0,0,0,0.7,0.8,0,0.2,0,0,0,0,0.3,0,0,0,0,0.2,0.7,0.8,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1'.split(',')
# names = [f's{i}' for i in range(1, n+1)]
# dist = lambda start, l: ', '.join([ f'{to}: {w}' for to, w in zip(names, s[start * n * A_ + l:(start+1) * n * A_:A_]) if w != '0' ])
# outgoing = lambda start: ', '.join([l + ': {' + dist(start, k) + '}' for k, l in enumerate(A)])
# print('\n'.join([names[i] + ': {' + outgoing(i) + '}' for i,_ in enumerate(names)]))
#
s1: {a: {s1: 0.3, s3: 0.7}, b: {s3: 0.8, s4: 0.2}}
s2: {a: {s2: 0.3, s5: 0.7}, b: {s4: 0.2, s5: 0.8}}
s3: {a: {s3: 1}, b: {}}
s4: {a: {}, b: {}}
s5: {a: {s5: 1}, b: {s5: 1}}
Hans-Peter Deifel
🐢
@hpd
mentioned in commit
0dd884dc
·
Nov 02, 2020
mentioned in commit
0dd884dc
mentioned in commit 0dd884dcb04c867aecefdbcc6e0cfd7174fa2b00
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment