Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LearnDezyneAlarm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Harco Kuppens
LearnDezyneAlarm
Commits
1f34787e
Commit
1f34787e
authored
8 years ago
by
Harco Kuppens
Browse files
Options
Downloads
Patches
Plain Diff
merged README and __README__
parent
ed58e214
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+35
-2
35 additions, 2 deletions
README.md
__README__.txt
+0
-36
0 additions, 36 deletions
__README__.txt
with
35 additions
and
38 deletions
README.md
+
35
−
2
View file @
1f34787e
...
...
@@ -3,5 +3,38 @@ Learning the alarm component in the Dezyne Alarm example project.
Current repository contains a java 8 eclipse project to learn the Dezyne alarm
component using a learning purpose with the LearnLib tool.
In report/report.pdf is a report describes a set of learning experiments done
on the Dezyne Alarm example project.
\ No newline at end of file
In ./report/report.pdf is a report describes a set of learning experiments done
on the Dezyne Alarm example project.
The correct Dezyne alarm example model project is in DezyneAlarmExampleProject/.
The java 8 source generated from this model is in src/sul/alarmsystem/
together with the Dezyne runtime for java 8 generated models in header.java.
I wrote a SUL wrapper in src/sul/alarmsystem/AlarmSUL.java around the Alarm
component in src/sul/alarmsystem/Alarm.java. The AlarmSul class
uses a learning purpose implemented in the files in the same folder:
ISensorLearningPurpose.java ISirenLearningPurpose.java LearningPurpose.java
The main class the project is src/learner/Main.java. In this main class
you can setup which SUL you want to learn with which learner and testing method.
It is currently setup to learn the "AlarmSUL" SUL using the TTT learning
algorithm using random testing.
The AlarmSUL can be configured in different modes by giving different
constructor parameters to it in src/learner/Main.java :
*
learning SUL model without learning purpose
USE_LEARNING_PURPOSE = false;
CONSOLE_OUTPUTS_ONLY = false;
*
learning SUL model with learning purpose
USE_LEARNING_PURPOSE = true;
CONSOLE_OUTPUTS_ONLY = false;
*
learning SUL INTERFACE with learning purpose
USE_LEARNING_PURPOSE = true;
CONSOLE_OUTPUTS_ONLY = true;
This diff is collapsed.
Click to expand it.
__README__.txt
deleted
100644 → 0
+
0
−
36
View file @
ed58e214
This folder contains an eclipse project for learning a model from the alarm
Dezyne component using a learning purpose.
The correct Dezyne alarm example model project is in DezyneAlarmExampleProject/.
The java 8 source generated from this model is in src/sul/alarmsystem/
together with the Dezyne runtime for java 8 generated models in header.java.
I wrote a SUL wrapper in src/sul/alarmsystem/AlarmSUL.java around the Alarm
component in src/sul/alarmsystem/Alarm.java. The AlarmSul class
uses a learning purpose implemented in the files in the same folder:
ISensorLearningPurpose.java ISirenLearningPurpose.java LearningPurpose.java
The main class the project is src/learner/Main.java. In this main class
you can setup which SUL you want to learn with which learner and testing method.
It is currently setup to learn the "AlarmSUL" SUL using the TTT learning
algorithm using random testing.
The AlarmSUL can be configured in different modes by giving different
constructor parameters to it in src/learner/Main.java :
* learning SUL model without learning purpose
USE_LEARNING_PURPOSE = false;
CONSOLE_OUTPUTS_ONLY = false;
* learning SUL model with learning purpose
USE_LEARNING_PURPOSE = true;
CONSOLE_OUTPUTS_ONLY = false;
* learning SUL INTERFACE with learning purpose
USE_LEARNING_PURPOSE = true;
CONSOLE_OUTPUTS_ONLY = true;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment