I do not think that it is a good metric and the problem is that a move that is 0.4 pawn weaker than the best move or even more than it may be the best move with deeper search so I cannot decide to prune it and I need to search it.zamar wrote:Hi Pio,
As others have pointed out the idea is already well known.
However personally I think that the total number of moves in a position is not a good metric, because it stays pretty constant during the middle-game.
The more interesting metric IMO would be "the number of reasonable moves" / position. By a reasonable move I mean a move where evaluation doesn't drop more than say 30cp compared to the best move.
But the obvious problem with this approach is the huge additional computing cost, so... likely we are just better off by extending checks, singular moves and pawn endgames
If you need to search a move then it makes the search more complex and I do not see the logic of ignoring it completely in calculating complexity.
Maybe you can consider it with smaller weight because you expect to waste less time on the search on it but you should count all moves(maybe not with the same weight).

