Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BN_GenerativeModel
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
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Antonio Andriella
BN_GenerativeModel
Commits
f81c0481
Commit
f81c0481
authored
4 years ago
by
Antonio Andriella
Browse files
Options
Downloads
Patches
Plain Diff
add new variables from the BNs
parent
6b9d7aa7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bn_variables.py
+10
-16
10 additions, 16 deletions
bn_variables.py
with
10 additions
and
16 deletions
bn_variables.py
+
10
−
16
View file @
f81c0481
'''
this module collect all the variables involved in the bayesian network and initialise them
'''
import
enum
class
Robot_Assistance_Feedback
(
enum
.
Enum
):
lev_0_no
=
0
lev_1_no
=
1
lev_2_no
=
2
lev_3_no
=
3
lev_4_no
=
4
lev_0_yes
=
0
lev_1_yes
=
1
lev_2_yes
=
2
lev_3_yes
=
3
lev_4_yes
=
4
name
=
"
robot_assistance_feedback
"
counter
=
10
class
User_React_time
(
enum
.
Enum
):
slow
=
0
normal
=
1
fast
=
1
name
=
"
user_react_time
"
counter
=
3
class
User_Capability
(
enum
.
Enum
):
very_mild
=
0
...
...
@@ -56,12 +49,13 @@ class Robot_Assistance(enum.Enum):
lev_2
=
2
lev_3
=
3
lev_4
=
4
lev_5
=
5
name
=
"
robot_assistance
"
counter
=
5
counter
=
6
class
Robot_Feedback
(
enum
.
Enum
):
yes
=
0
no
=
1
yes
=
1
no
=
0
name
=
"
robot_feedback
"
counter
=
2
...
...
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