diff --git a/java/com.sap.sailing.windestimation/src/com/sap/sailing/windestimation/aggregator/msthmm/MstBestPathsCalculatorImpl.java b/java/com.sap.sailing.windestimation/src/com/sap/sailing/windestimation/aggregator/msthmm/MstBestPathsCalculatorImpl.java index 73e82c6591c..c0a4bc02ce0 100644 --- a/java/com.sap.sailing.windestimation/src/com/sap/sailing/windestimation/aggregator/msthmm/MstBestPathsCalculatorImpl.java +++ b/java/com.sap.sailing.windestimation/src/com/sap/sailing/windestimation/aggregator/msthmm/MstBestPathsCalculatorImpl.java @@ -116,7 +116,12 @@ public class MstBestPathsCalculatorImpl implements MstBestPathsCalculator { } MstBestPathsPerLevel bestPathsUntilLevel = new MstBestPathsPerLevel(currentLevel); // the edges connecting the four nodes of the currentLevel to the four nodes of the previous level - // are now analyzed and evaluated, based on the + // are now analyzed and evaluated. The probability for the path to the currentNode is determined + // as the product of the probability for the path to the previous node (which already includes + // the previous node's own classification confidence) and the transition probability to the + // current node (determined by the TWD delta between the wind range carried through to the previous + // node and the wind range computed for the current node) and the classification confidence of + // the current node. for (GraphNode currentNode : currentLevel.getLevelNodes()) { List> currentNodeBestPreviousNodes = new ArrayList<>(); double currentNodeProbabilityFromStart = currentNode.getConfidence();