Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
KTLA Study
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
KTLA Study
Commits
03e198bc
Commit
03e198bc
authored
Feb 10, 2022
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
0f144dae
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
82 additions
and
0 deletions
+82
-0
Route.pdf
Route.pdf
+0
-0
Route.tla
Route.tla
+25
-0
Route.toolbox/.project
Route.toolbox/.project
+24
-0
Route.toolbox/.settings/org.lamport.tla.toolbox.prefs
Route.toolbox/.settings/org.lamport.tla.toolbox.prefs
+2
-0
Route.toolbox/Route___Model_1.launch
Route.toolbox/Route___Model_1.launch
+31
-0
No files found.
Route.pdf
0 → 100644
View file @
03e198bc
File added
Route.tla
0 → 100644
View file @
03e198bc
------------------------------- MODULE Route -------------------------------
EXTENDS FiniteSets
CONSTANT Nodes, Edges, root
\* Has2Items(e) is true when e is set with exactly 2 elements.
\*Has2Items(s) == \E a, b \in s : (a /= b) /\ (s = {a,b})
\*Has2Items(s) == Cardinality(s) = 2
ASSUME /\ root \in Nodes
/\ \A e \in Edges : (e \subseteq Nodes) /\ (Cardinality(e) = 2)
\* Connected is true if two nodes i and j are interconnected by some path.
RECURSIVE Connected(_,_)
Connected(i,j) ==
\/ {i,j} \in Edges
\/ \E x \in Nodes : ({i,x} \in Edges) /\ Connected(x,j)
\* All nodes must be connected
ASSUME \A i,j \in Nodes : Connected(i,j)
=============================================================================
Route.toolbox/.project
0 → 100644
View file @
03e198bc
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>
Route
</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>
toolbox.builder.TLAParserBuilder
</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>
toolbox.natures.TLANature
</nature>
</natures>
<linkedResources>
<link>
<name>
Route.tla
</name>
<type>
1
</type>
<locationURI>
PARENT-1-PROJECT_LOC/Route.tla
</locationURI>
</link>
</linkedResources>
</projectDescription>
Route.toolbox/.settings/org.lamport.tla.toolbox.prefs
0 → 100644
View file @
03e198bc
ProjectRootFile=PARENT-1-PROJECT_LOC/Route.tla
eclipse.preferences.version=1
Route.toolbox/Route___Model_1.launch
0 → 100644
View file @
03e198bc
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration
type=
"org.lamport.tla.toolbox.tool.tlc.modelCheck"
>
<stringAttribute
key=
"configurationName"
value=
"Model_1"
/>
<intAttribute
key=
"distributedFPSetCount"
value=
"0"
/>
<stringAttribute
key=
"distributedNetworkInterface"
value=
"192.168.122.1"
/>
<intAttribute
key=
"distributedNodesCount"
value=
"1"
/>
<stringAttribute
key=
"distributedTLC"
value=
"off"
/>
<intAttribute
key=
"fpIndex"
value=
"62"
/>
<intAttribute
key=
"maxHeapSize"
value=
"25"
/>
<stringAttribute
key=
"modelBehaviorInit"
value=
""
/>
<stringAttribute
key=
"modelBehaviorNext"
value=
""
/>
<stringAttribute
key=
"modelBehaviorSpec"
value=
""
/>
<intAttribute
key=
"modelBehaviorSpecType"
value=
"0"
/>
<stringAttribute
key=
"modelBehaviorVars"
value=
""
/>
<stringAttribute
key=
"modelComments"
value=
""
/>
<booleanAttribute
key=
"modelCorrectnessCheckDeadlock"
value=
"true"
/>
<listAttribute
key=
"modelCorrectnessInvariants"
/>
<listAttribute
key=
"modelCorrectnessProperties"
/>
<intAttribute
key=
"modelEditorOpenTabs"
value=
"8"
/>
<stringAttribute
key=
"modelExpressionEval"
value=
""
/>
<listAttribute
key=
"modelParameterConstants"
>
<listEntry
value=
"root;;n1;0;0"
/>
<listEntry
value=
"Edges;;{{n1, n2}};0;0"
/>
<listEntry
value=
"Nodes;;{n1, n2, n3};1;0"
/>
</listAttribute>
<intAttribute
key=
"modelVersion"
value=
"20191005"
/>
<intAttribute
key=
"numberOfWorkers"
value=
"2"
/>
<stringAttribute
key=
"result.mail.address"
value=
""
/>
<stringAttribute
key=
"specName"
value=
"Route"
/>
<stringAttribute
key=
"tlcResourcesProfile"
value=
"local custom"
/>
</launchConfiguration>
Write
Preview
Markdown
is supported
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