Skip to content

Commit

Permalink
Merge pull request #77 from opennars/updateRuntimeNARSettingsPR
Browse files Browse the repository at this point in the history
Update: RuntimeNarSettings: Updated including motor babbling param.
  • Loading branch information
patham9 authored Mar 23, 2019
2 parents da2e374 + 5890551 commit 263ca9b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/main/java/org/opennars/gui/RuntimeNarSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ public double getVARIABLE_INTRODUCTION_CONFIDENCE_MUL() {
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() {
Expand All @@ -439,4 +439,11 @@ public double getANTICIPATIONS_PER_CONCEPT_MAX() {
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;
}
}

0 comments on commit 263ca9b

Please sign in to comment.