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
AVANZINI Martin
ecoimp
Commits
45c3cdeb
Commit
45c3cdeb
authored
Nov 21, 2019
by
Michael Schaper
Browse files
add bridge example
parent
1f0e2943
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/pldi/bridge.imp
0 → 100644
View file @
45c3cdeb
# variation of random walk
def bridge():
var a, b, n
while a < x and x < b:
tick 1
prob(1,1):
x = x - 1
else:
x = x + 1
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