diff --git a/src/main/java/org/opennars/gui/RuntimeNarSettings.java b/src/main/java/org/opennars/gui/RuntimeNarSettings.java index 720bffb1e3e05c3a60c5483529599af4452c1fa9..61e371fc348882655c73e3328b676f4ff6d4bdf2 100755 --- a/src/main/java/org/opennars/gui/RuntimeNarSettings.java +++ b/src/main/java/org/opennars/gui/RuntimeNarSettings.java @@ -430,7 +430,7 @@ public class RuntimeNarSettings implements Plugin { return (double) n.narParameters.VARIABLE_INTRODUCTION_CONFIDENCE_MUL; } public void setVARIABLE_INTRODUCTION_CONFIDENCE_MUL(final double val) { - n.narParameters.VARIABLE_INTRODUCTION_CONFIDENCE_MUL = (int) val; + n.narParameters.VARIABLE_INTRODUCTION_CONFIDENCE_MUL = (float) val; } public double getANTICIPATIONS_PER_CONCEPT_MAX() { @@ -439,4 +439,11 @@ public class RuntimeNarSettings implements Plugin { public void setANTICIPATIONS_PER_CONCEPT_MAX(final double val) { n.narParameters.ANTICIPATIONS_PER_CONCEPT_MAX = (int) val; } + + public double getMOTOR_BABBLING_CONFIDENCE_THRESHOLD() { + return (double) n.narParameters.MOTOR_BABBLING_CONFIDENCE_THRESHOLD; + } + public void setMOTOR_BABBLING_CONFIDENCE_THRESHOLD(final double val) { + n.narParameters.MOTOR_BABBLING_CONFIDENCE_THRESHOLD = (float) val; + } } \ No newline at end of file