public double getComplexity ( ) { double totalCost = 0 ; for ( List < Fragment > list : fragments ( ) ) { totalCost += fragmentListCost ( list ) ; } return totalCost ; }
Get the estimated complexity of the traversal .