diff --git a/Evaluation/src/metrics/Metric.java b/Evaluation/src/metrics/Metric.java index 89e3062e32..073efe487a 100644 --- a/Evaluation/src/metrics/Metric.java +++ b/Evaluation/src/metrics/Metric.java @@ -113,6 +113,12 @@ public MultiMetricValue multiMetricValue() */ public abstract void startNewTrial(final Context context, final Trial fullTrial); + /** + * Observe the next state for incrementally computing metrics. + * @param context + */ + public abstract void observeNextState(final Context context); + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/MetricsTracker.java b/Evaluation/src/metrics/MetricsTracker.java index 95f72b8708..177a02ac5c 100644 --- a/Evaluation/src/metrics/MetricsTracker.java +++ b/Evaluation/src/metrics/MetricsTracker.java @@ -52,7 +52,10 @@ public void startNewTrial(final Context context, final Trial fullTrial) */ public void observeNextState(final Context context) { - // TODO + for (final Metric metric : metrics) + { + metric.observeNextState(context); + } } /** diff --git a/Evaluation/src/metrics/designer/IdealDuration.java b/Evaluation/src/metrics/designer/IdealDuration.java index c3e23b750b..4c8d625b86 100644 --- a/Evaluation/src/metrics/designer/IdealDuration.java +++ b/Evaluation/src/metrics/designer/IdealDuration.java @@ -95,6 +95,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) System.err.println("Incrementally computing metric not yet implemented for IdealDuration."); } + @Override + public void observeNextState(final Context context) + { + System.err.println("Incrementally computing metric not yet implemented for IdealDuration."); + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/designer/SkillTrace.java b/Evaluation/src/metrics/designer/SkillTrace.java index 361bdb0db9..d538b87b8f 100644 --- a/Evaluation/src/metrics/designer/SkillTrace.java +++ b/Evaluation/src/metrics/designer/SkillTrace.java @@ -256,6 +256,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) System.err.println("Incrementally computing metric not yet implemented for SkillTrace."); } + @Override + public void observeNextState(final Context context) + { + System.err.println("Incrementally computing metric not yet implemented for SkillTrace."); + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/multiple/metrics/BoardSitesOccupied.java b/Evaluation/src/metrics/multiple/metrics/BoardSitesOccupied.java index 33e9a5dac1..84807d40bd 100644 --- a/Evaluation/src/metrics/multiple/metrics/BoardSitesOccupied.java +++ b/Evaluation/src/metrics/multiple/metrics/BoardSitesOccupied.java @@ -68,6 +68,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) currValueList.add(Double.valueOf(Double.valueOf(Utils.boardDefaultSitesCovered(context).size()).doubleValue() / numberDefaultBoardSites)); } + @Override + public void observeNextState(final Context context) + { + currValueList.add(Double.valueOf(Double.valueOf(Utils.boardDefaultSitesCovered(context).size()).doubleValue() / numberDefaultBoardSites)); + } + //------------------------------------------------------------------------- diff --git a/Evaluation/src/metrics/multiple/metrics/BranchingFactor.java b/Evaluation/src/metrics/multiple/metrics/BranchingFactor.java index 1f23bc8bfa..5002e20aae 100644 --- a/Evaluation/src/metrics/multiple/metrics/BranchingFactor.java +++ b/Evaluation/src/metrics/multiple/metrics/BranchingFactor.java @@ -56,6 +56,14 @@ public Double[] getMetricValueList(final Evaluation evaluation, final Trial tria public void startNewTrial(final Context context, final Trial fullTrial) { currValueList = new ArrayList(); + currValueList.add(Double.valueOf(context.game().moves(context).moves().size())); + } + + @Override + public void observeNextState(final Context context) + { + if (!context.trial().over()) + currValueList.add(Double.valueOf(context.game().moves(context).moves().size())); } //------------------------------------------------------------------------- diff --git a/Evaluation/src/metrics/multiple/metrics/DecisionFactor.java b/Evaluation/src/metrics/multiple/metrics/DecisionFactor.java index 50d4fdb40e..3b5e589dd5 100644 --- a/Evaluation/src/metrics/multiple/metrics/DecisionFactor.java +++ b/Evaluation/src/metrics/multiple/metrics/DecisionFactor.java @@ -58,6 +58,16 @@ public Double[] getMetricValueList(final Evaluation evaluation, final Trial tria public void startNewTrial(final Context context, final Trial fullTrial) { currValueList = new ArrayList(); + + if (context.game().moves(context).moves().size() > 1) + currValueList.add(Double.valueOf(context.game().moves(context).moves().size())); + } + + @Override + public void observeNextState(final Context context) + { + if (!context.trial().over() && context.game().moves(context).moves().size() > 1) + currValueList.add(Double.valueOf(context.game().moves(context).moves().size())); } //------------------------------------------------------------------------- diff --git a/Evaluation/src/metrics/multiple/metrics/Drama.java b/Evaluation/src/metrics/multiple/metrics/Drama.java index 8914cac93e..0a23d9ce1c 100644 --- a/Evaluation/src/metrics/multiple/metrics/Drama.java +++ b/Evaluation/src/metrics/multiple/metrics/Drama.java @@ -83,6 +83,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) System.err.println("Incrementally computing metric not yet implemented for Drama."); } + @Override + public void observeNextState(final Context context) + { + System.err.println("Incrementally computing metric not yet implemented for Drama."); + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/multiple/metrics/MoveDistance.java b/Evaluation/src/metrics/multiple/metrics/MoveDistance.java index d7ee3ce6e5..dfd8a185eb 100644 --- a/Evaluation/src/metrics/multiple/metrics/MoveDistance.java +++ b/Evaluation/src/metrics/multiple/metrics/MoveDistance.java @@ -101,6 +101,28 @@ public void startNewTrial(final Context context, final Trial fullTrial) currValueList = new ArrayList(); } + @Override + public void observeNextState(final Context context) + { + final Move m = context.trial().lastMove(); + + final SiteType moveType = m.fromType(); + + if + ( + m.fromType() == m.toType() + && + m.from() < boardTopology.numSites(moveType) + && + m.to() < boardTopology.numSites(moveType) + && + m.from() != m.to() + ) + { + currValueList.add(Double.valueOf(boardTopology.distancesToOtherSite(moveType)[m.from()][m.to()])); + } + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/multiple/metrics/MoveEvaluation.java b/Evaluation/src/metrics/multiple/metrics/MoveEvaluation.java index e7a0759934..85754125fd 100644 --- a/Evaluation/src/metrics/multiple/metrics/MoveEvaluation.java +++ b/Evaluation/src/metrics/multiple/metrics/MoveEvaluation.java @@ -58,6 +58,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) System.err.println("Incrementally computing metric not yet implemented for MoveEvaluation."); } + @Override + public void observeNextState(final Context context) + { + System.err.println("Incrementally computing metric not yet implemented for MoveEvaluation."); + } + //------------------------------------------------------------------------- } \ No newline at end of file diff --git a/Evaluation/src/metrics/multiple/metrics/PieceNumber.java b/Evaluation/src/metrics/multiple/metrics/PieceNumber.java index 803e5e46f9..e2e12eb043 100644 --- a/Evaluation/src/metrics/multiple/metrics/PieceNumber.java +++ b/Evaluation/src/metrics/multiple/metrics/PieceNumber.java @@ -61,6 +61,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) currValueList.add(Double.valueOf(Utils.numPieces(context))); } + @Override + public void observeNextState(final Context context) + { + currValueList.add(Double.valueOf(Utils.numPieces(context))); + } + //------------------------------------------------------------------------- diff --git a/Evaluation/src/metrics/multiple/metrics/ScoreDifference.java b/Evaluation/src/metrics/multiple/metrics/ScoreDifference.java index ffe2faf81f..3db4bf1e4a 100644 --- a/Evaluation/src/metrics/multiple/metrics/ScoreDifference.java +++ b/Evaluation/src/metrics/multiple/metrics/ScoreDifference.java @@ -88,6 +88,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) currValueList.add(Double.valueOf(getScoreDiscrepancy(context))); } + @Override + public void observeNextState(final Context context) + { + currValueList.add(Double.valueOf(getScoreDiscrepancy(context))); + } + //------------------------------------------------------------------------- } \ No newline at end of file diff --git a/Evaluation/src/metrics/multiple/metrics/StateEvaluationDifference.java b/Evaluation/src/metrics/multiple/metrics/StateEvaluationDifference.java index a3f809a78c..f9e03c4818 100644 --- a/Evaluation/src/metrics/multiple/metrics/StateEvaluationDifference.java +++ b/Evaluation/src/metrics/multiple/metrics/StateEvaluationDifference.java @@ -81,6 +81,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) System.err.println("Incrementally computing metric not yet implemented for StateEvaluationDifference."); } + @Override + public void observeNextState(final Context context) + { + System.err.println("Incrementally computing metric not yet implemented for StateEvaluationDifference."); + } + //------------------------------------------------------------------------- } \ No newline at end of file diff --git a/Evaluation/src/metrics/single/boardCoverage/BoardCoverageDefault.java b/Evaluation/src/metrics/single/boardCoverage/BoardCoverageDefault.java index e3605a363c..ab367d39a4 100644 --- a/Evaluation/src/metrics/single/boardCoverage/BoardCoverageDefault.java +++ b/Evaluation/src/metrics/single/boardCoverage/BoardCoverageDefault.java @@ -94,6 +94,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) sitesCovered.addAll(Utils.boardDefaultSitesCovered(context)); } + @Override + public void observeNextState(final Context context) + { + sitesCovered.addAll(Utils.boardDefaultSitesCovered(context)); + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/boardCoverage/BoardCoverageFull.java b/Evaluation/src/metrics/single/boardCoverage/BoardCoverageFull.java index f8ac07f56a..73f2013d19 100644 --- a/Evaluation/src/metrics/single/boardCoverage/BoardCoverageFull.java +++ b/Evaluation/src/metrics/single/boardCoverage/BoardCoverageFull.java @@ -91,6 +91,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) sitesCovered.addAll(Utils.boardAllSitesCovered(context)); } + @Override + public void observeNextState(final Context context) + { + sitesCovered.addAll(Utils.boardAllSitesCovered(context)); + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/boardCoverage/BoardCoverageUsed.java b/Evaluation/src/metrics/single/boardCoverage/BoardCoverageUsed.java index d437b0ba2b..5b14ed4b10 100644 --- a/Evaluation/src/metrics/single/boardCoverage/BoardCoverageUsed.java +++ b/Evaluation/src/metrics/single/boardCoverage/BoardCoverageUsed.java @@ -91,6 +91,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) sitesCovered.addAll(Utils.boardUsedSitesCovered(context)); } + @Override + public void observeNextState(final Context context) + { + sitesCovered.addAll(Utils.boardUsedSitesCovered(context)); + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/complexity/DecisionMoves.java b/Evaluation/src/metrics/single/complexity/DecisionMoves.java index c64e8a18d4..d6bddf6e5b 100644 --- a/Evaluation/src/metrics/single/complexity/DecisionMoves.java +++ b/Evaluation/src/metrics/single/complexity/DecisionMoves.java @@ -94,6 +94,13 @@ public void startNewTrial(final Context context, final Trial fullTrial) numDecisionMoves += 1.0; } + @Override + public void observeNextState(final Context context) + { + if (!context.trial().over() && context.game().moves(context).moves().size() > 1) + numDecisionMoves += 1.0; + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/complexity/GameTreeComplexity.java b/Evaluation/src/metrics/single/complexity/GameTreeComplexity.java index d700edcbe8..241a1803ba 100644 --- a/Evaluation/src/metrics/single/complexity/GameTreeComplexity.java +++ b/Evaluation/src/metrics/single/complexity/GameTreeComplexity.java @@ -91,6 +91,13 @@ public void startNewTrial(final Context context, final Trial fullTrial) branchingFactor += ((double) context.game().moves(context).moves().size()) / numFullTrialMoves; } + @Override + public void observeNextState(final Context context) + { + if (!context.trial().over()) + branchingFactor += ((double) context.game().moves(context).moves().size()) / numFullTrialMoves; + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/complexity/StateSpaceComplexity.java b/Evaluation/src/metrics/single/complexity/StateSpaceComplexity.java index 6fd6534146..b804164d01 100644 --- a/Evaluation/src/metrics/single/complexity/StateSpaceComplexity.java +++ b/Evaluation/src/metrics/single/complexity/StateSpaceComplexity.java @@ -75,6 +75,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) // Do nothing } + @Override + public void observeNextState(final Context context) + { + // Do nothing + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/duration/DurationActions.java b/Evaluation/src/metrics/single/duration/DurationActions.java index f8d43706b3..16c3de5987 100644 --- a/Evaluation/src/metrics/single/duration/DurationActions.java +++ b/Evaluation/src/metrics/single/duration/DurationActions.java @@ -18,6 +18,11 @@ */ public class DurationActions extends Metric { + + //------------------------------------------------------------------------- + + /** For incremental computation */ + protected double actionTally = 0.0; //------------------------------------------------------------------------- @@ -64,6 +69,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) // Do nothing } + @Override + public void observeNextState(final Context context) + { + actionTally += context.trial().lastMove().actions().size(); + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/duration/DurationMoves.java b/Evaluation/src/metrics/single/duration/DurationMoves.java index 9179cfb1b1..abdbf83313 100644 --- a/Evaluation/src/metrics/single/duration/DurationMoves.java +++ b/Evaluation/src/metrics/single/duration/DurationMoves.java @@ -62,6 +62,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) // Do nothing } + @Override + public void observeNextState(final Context context) + { + // Do nothing + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/duration/DurationTurns.java b/Evaluation/src/metrics/single/duration/DurationTurns.java index ca112f7c63..fe6eb0ca0d 100644 --- a/Evaluation/src/metrics/single/duration/DurationTurns.java +++ b/Evaluation/src/metrics/single/duration/DurationTurns.java @@ -62,6 +62,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) // Do nothing } + @Override + public void observeNextState(final Context context) + { + // Do nothing + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/duration/DurationTurnsNotTimeouts.java b/Evaluation/src/metrics/single/duration/DurationTurnsNotTimeouts.java index 6700b3b67e..cdde9324dc 100644 --- a/Evaluation/src/metrics/single/duration/DurationTurnsNotTimeouts.java +++ b/Evaluation/src/metrics/single/duration/DurationTurnsNotTimeouts.java @@ -81,6 +81,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) // Do nothing } + @Override + public void observeNextState(final Context context) + { + // Do nothing + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/duration/DurationTurnsStdDev.java b/Evaluation/src/metrics/single/duration/DurationTurnsStdDev.java index 5e531429d5..ab895b2aed 100644 --- a/Evaluation/src/metrics/single/duration/DurationTurnsStdDev.java +++ b/Evaluation/src/metrics/single/duration/DurationTurnsStdDev.java @@ -84,6 +84,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) // Do nothing } + @Override + public void observeNextState(final Context context) + { + // Do nothing + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/outcome/AdvantageP1.java b/Evaluation/src/metrics/single/outcome/AdvantageP1.java index e1f77a9f1a..be6c536e50 100644 --- a/Evaluation/src/metrics/single/outcome/AdvantageP1.java +++ b/Evaluation/src/metrics/single/outcome/AdvantageP1.java @@ -71,6 +71,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) // Do nothing } + @Override + public void observeNextState(final Context context) + { + // Do nothing + } + //------------------------------------------------------------------------- } \ No newline at end of file diff --git a/Evaluation/src/metrics/single/outcome/Balance.java b/Evaluation/src/metrics/single/outcome/Balance.java index 0b12f75a2c..9937200a80 100644 --- a/Evaluation/src/metrics/single/outcome/Balance.java +++ b/Evaluation/src/metrics/single/outcome/Balance.java @@ -91,6 +91,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) // Do nothing } + @Override + public void observeNextState(final Context context) + { + // Do nothing + } + //------------------------------------------------------------------------- } \ No newline at end of file diff --git a/Evaluation/src/metrics/single/outcome/Completion.java b/Evaluation/src/metrics/single/outcome/Completion.java index eaf4bfea36..6d33448e06 100644 --- a/Evaluation/src/metrics/single/outcome/Completion.java +++ b/Evaluation/src/metrics/single/outcome/Completion.java @@ -66,6 +66,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) // Do nothing } + @Override + public void observeNextState(final Context context) + { + // Do nothing + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/outcome/Drawishness.java b/Evaluation/src/metrics/single/outcome/Drawishness.java index 16276ecbde..2ad2c493c6 100644 --- a/Evaluation/src/metrics/single/outcome/Drawishness.java +++ b/Evaluation/src/metrics/single/outcome/Drawishness.java @@ -85,6 +85,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) // Do nothing } + @Override + public void observeNextState(final Context context) + { + // Do nothing + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/outcome/OutcomeUniformity.java b/Evaluation/src/metrics/single/outcome/OutcomeUniformity.java index 05481707de..5a01c60972 100644 --- a/Evaluation/src/metrics/single/outcome/OutcomeUniformity.java +++ b/Evaluation/src/metrics/single/outcome/OutcomeUniformity.java @@ -92,6 +92,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) // Do nothing } + @Override + public void observeNextState(final Context context) + { + // Do nothing + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/outcome/Timeouts.java b/Evaluation/src/metrics/single/outcome/Timeouts.java index b0939f4ce8..d2b0cb940f 100644 --- a/Evaluation/src/metrics/single/outcome/Timeouts.java +++ b/Evaluation/src/metrics/single/outcome/Timeouts.java @@ -70,6 +70,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) // Do nothing } + @Override + public void observeNextState(final Context context) + { + // Do nothing + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/stateEvaluation/LeadChange.java b/Evaluation/src/metrics/single/stateEvaluation/LeadChange.java index 75d6b48fc7..8d967dc8cb 100644 --- a/Evaluation/src/metrics/single/stateEvaluation/LeadChange.java +++ b/Evaluation/src/metrics/single/stateEvaluation/LeadChange.java @@ -100,6 +100,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) { System.err.println("Incrementally computing metric not yet implemented for LeadChange."); } + + @Override + public void observeNextState(final Context context) + { + System.err.println("Incrementally computing metric not yet implemented for LeadChange."); + } //------------------------------------------------------------------------- diff --git a/Evaluation/src/metrics/single/stateEvaluation/Stability.java b/Evaluation/src/metrics/single/stateEvaluation/Stability.java index 99baf41afb..e5d3f56205 100644 --- a/Evaluation/src/metrics/single/stateEvaluation/Stability.java +++ b/Evaluation/src/metrics/single/stateEvaluation/Stability.java @@ -108,6 +108,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) { System.err.println("Incrementally computing metric not yet implemented for Stability."); } + + @Override + public void observeNextState(final Context context) + { + System.err.println("Incrementally computing metric not yet implemented for Stability."); + } //------------------------------------------------------------------------- diff --git a/Evaluation/src/metrics/single/stateEvaluation/clarity/ClarityNarrowness.java b/Evaluation/src/metrics/single/stateEvaluation/clarity/ClarityNarrowness.java index 91d5db9ab2..9ccc8fc642 100644 --- a/Evaluation/src/metrics/single/stateEvaluation/clarity/ClarityNarrowness.java +++ b/Evaluation/src/metrics/single/stateEvaluation/clarity/ClarityNarrowness.java @@ -101,6 +101,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) System.err.println("Incrementally computing metric not yet implemented for ClarityNarrowness."); } + @Override + public void observeNextState(final Context context) + { + System.err.println("Incrementally computing metric not yet implemented for ClarityNarrowness."); + } + //------------------------------------------------------------------------- } diff --git a/Evaluation/src/metrics/single/stateEvaluation/clarity/ClarityVariance.java b/Evaluation/src/metrics/single/stateEvaluation/clarity/ClarityVariance.java index a3637a4e19..3c0f209d5b 100644 --- a/Evaluation/src/metrics/single/stateEvaluation/clarity/ClarityVariance.java +++ b/Evaluation/src/metrics/single/stateEvaluation/clarity/ClarityVariance.java @@ -91,6 +91,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) { System.err.println("Incrementally computing metric not yet implemented for ClarityVariance."); } + + @Override + public void observeNextState(final Context context) + { + System.err.println("Incrementally computing metric not yet implemented for ClarityVariance."); + } //------------------------------------------------------------------------- diff --git a/Evaluation/src/metrics/single/stateEvaluation/decisiveness/DecisivenessMoves.java b/Evaluation/src/metrics/single/stateEvaluation/decisiveness/DecisivenessMoves.java index 843d62a886..098dba71b6 100644 --- a/Evaluation/src/metrics/single/stateEvaluation/decisiveness/DecisivenessMoves.java +++ b/Evaluation/src/metrics/single/stateEvaluation/decisiveness/DecisivenessMoves.java @@ -103,6 +103,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) { System.err.println("Incrementally computing metric not yet implemented for DecisivenessMoves."); } + + @Override + public void observeNextState(final Context context) + { + System.err.println("Incrementally computing metric not yet implemented for DecisivenessMoves."); + } //------------------------------------------------------------------------- diff --git a/Evaluation/src/metrics/single/stateEvaluation/decisiveness/DecisivenessThreshold.java b/Evaluation/src/metrics/single/stateEvaluation/decisiveness/DecisivenessThreshold.java index 000d82f8fb..0e28ff48b7 100644 --- a/Evaluation/src/metrics/single/stateEvaluation/decisiveness/DecisivenessThreshold.java +++ b/Evaluation/src/metrics/single/stateEvaluation/decisiveness/DecisivenessThreshold.java @@ -98,6 +98,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) { System.err.println("Incrementally computing metric not yet implemented for DecisivenessThreshold."); } + + @Override + public void observeNextState(final Context context) + { + System.err.println("Incrementally computing metric not yet implemented for DecisivenessThreshold."); + } //------------------------------------------------------------------------- diff --git a/Evaluation/src/metrics/single/stateRepetition/PositionalRepetition.java b/Evaluation/src/metrics/single/stateRepetition/PositionalRepetition.java index 0c9074b90d..15f14e990f 100644 --- a/Evaluation/src/metrics/single/stateRepetition/PositionalRepetition.java +++ b/Evaluation/src/metrics/single/stateRepetition/PositionalRepetition.java @@ -100,6 +100,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) { System.err.println("Incrementally computing metric not yet implemented for PositionalRepetition."); } + + @Override + public void observeNextState(final Context context) + { + System.err.println("Incrementally computing metric not yet implemented for PositionalRepetition."); + } //------------------------------------------------------------------------- diff --git a/Evaluation/src/metrics/single/stateRepetition/SituationalRepetition.java b/Evaluation/src/metrics/single/stateRepetition/SituationalRepetition.java index e25c12309d..f03647a8aa 100644 --- a/Evaluation/src/metrics/single/stateRepetition/SituationalRepetition.java +++ b/Evaluation/src/metrics/single/stateRepetition/SituationalRepetition.java @@ -100,6 +100,12 @@ public void startNewTrial(final Context context, final Trial fullTrial) { System.err.println("Incrementally computing metric not yet implemented for SituationalRepetition."); } + + @Override + public void observeNextState(final Context context) + { + System.err.println("Incrementally computing metric not yet implemented for SituationalRepetition."); + } //-------------------------------------------------------------------------