summaryrefslogtreecommitdiff
path: root/gi/posterior-regularisation/prjava/src/optimization
diff options
context:
space:
mode:
Diffstat (limited to 'gi/posterior-regularisation/prjava/src/optimization')
-rw-r--r--gi/posterior-regularisation/prjava/src/optimization/gradientBasedMethods/Objective.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/gi/posterior-regularisation/prjava/src/optimization/gradientBasedMethods/Objective.java b/gi/posterior-regularisation/prjava/src/optimization/gradientBasedMethods/Objective.java
index 0e2e27ac..6be01bf9 100644
--- a/gi/posterior-regularisation/prjava/src/optimization/gradientBasedMethods/Objective.java
+++ b/gi/posterior-regularisation/prjava/src/optimization/gradientBasedMethods/Objective.java
@@ -59,6 +59,10 @@ public abstract class Objective {
return gradientCalls;
}
+ public int getNumberUpdateCalls() {
+ return updateCalls;
+ }
+
public String finalInfoString() {
return "FE: " + functionCalls + " GE " + gradientCalls + " Params updates" +
updateCalls;