Skip to content
Snippets Groups Projects
Commit 88cd9bfc authored by Antonio Andriella's avatar Antonio Andriella
Browse files

Fix bug in lev assistance

parent 9a38c6df
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ variable attention { ...@@ -12,7 +12,7 @@ variable attention {
type discrete[3] {low, medium, high}; type discrete[3] {low, medium, high};
} }
variable robot_assistance { variable robot_assistance {
type discrete [ 5 ] { lev_0, lev_1, lev_2, lev_3, lev_4 }; type discrete [ 6 ] { lev_0, lev_1, lev_2, lev_3, lev_4, lev_5 };
} }
variable attempt { variable attempt {
type discrete [ 4 ] { att_1, att_2, att_3, att_4 }; type discrete [ 4 ] { att_1, att_2, att_3, att_4 };
...@@ -30,7 +30,7 @@ variable user_action { ...@@ -30,7 +30,7 @@ variable user_action {
%INDIVIDUAL PROBABILITIES DEFINITION %INDIVIDUAL PROBABILITIES DEFINITION
probability ( robot_assistance ) { probability ( robot_assistance ) {
table 0.2, 0.2, 0.2, 0.2, 0.2; table 0.16, 0.16, 0.17, 0.16, 0.17, 0.16;
} }
probability ( game_state ) { probability ( game_state ) {
table 0.34, 0.33, 0.33; table 0.34, 0.33, 0.33;
...@@ -80,9 +80,9 @@ probability (robot_feedback | user_action) { ...@@ -80,9 +80,9 @@ probability (robot_feedback | user_action) {
(timeout) 0.2, 0.8; (timeout) 0.2, 0.8;
} }
probability (robot_assistance | user_action) { probability (robot_assistance | user_action) {
(correct) 0.05 0.1 0.15 0.3 0.4; (correct) 0.05 0.05 0.1 0.1 0.35 0.35;
(wrong) 0.4 0.3 0.2 0.05 0.05; (wrong) 0.45 0.3 0.2 0.05 0.0 0.0;
(timeout) 0.4 0.4 0.1 0.05 0.05; (timeout) 0.4 0.4 0.2 0.0 0.0 0.0;
} }
probability (game_state | user_action) { probability (game_state | user_action) {
(correct) 0.2, 0.4, 0.4; (correct) 0.2, 0.4, 0.4;
......
...@@ -12,7 +12,7 @@ variable attention { ...@@ -12,7 +12,7 @@ variable attention {
type discrete[3] {low, medium, high}; type discrete[3] {low, medium, high};
} }
variable robot_assistance { variable robot_assistance {
type discrete [ 5 ] { lev_0, lev_1, lev_2, lev_3, lev_4 }; type discrete [ 6 ] { lev_0, lev_1, lev_2, lev_3, lev_4, lev_5 };
} }
variable attempt { variable attempt {
type discrete [ 4 ] { att_1, att_2, att_3, att_4 }; type discrete [ 4 ] { att_1, att_2, att_3, att_4 };
...@@ -28,8 +28,8 @@ variable user_react_time { ...@@ -28,8 +28,8 @@ variable user_react_time {
} }
%INDIVIDUAL PROBABILITIES DEFINITION %INDIVIDUAL PROBABILITIES DEFINITION
probability ( robot_assistance ) { variable robot_assistance {
table 0.2, 0.2, 0.2, 0.2, 0.2; type discrete [ 6 ] { lev_0, lev_1, lev_2, lev_3, lev_4, lev_5 };
} }
probability ( game_state ) { probability ( game_state ) {
table 0.34, 0.33, 0.33; table 0.34, 0.33, 0.33;
...@@ -79,9 +79,9 @@ probability (robot_feedback | user_react_time) { ...@@ -79,9 +79,9 @@ probability (robot_feedback | user_react_time) {
(fast) 0.2, 0.8; (fast) 0.2, 0.8;
} }
probability (robot_assistance | user_react_time) { probability (robot_assistance | user_react_time) {
(slow) 0.05 0.1 0.15 0.3 0.4; (slow) 0.05 0.05 0.1 0.1 0.35 0.35;
(normal) 0.4 0.3 0.2 0.05 0.05; (normal) 0.45 0.3 0.2 0.05 0.0 0.0;
(fast) 0.4 0.4 0.1 0.05 0.05; (fast) 0.4 0.4 0.2 0.0 0.0 0.0;
} }
probability (game_state | user_react_time) { probability (game_state | user_react_time) {
(slow) 0.2, 0.4, 0.4; (slow) 0.2, 0.4, 0.4;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment