[rules-users] Number of moves in Optaplanner.
Geoffrey De Smet
ge0ffrey.spam at gmail.com
Fri Feb 28 05:30:55 EST 2014
ScoreDirector.getCalculateCount() will tell you the number of moves that
have been evaluated (because calculateScore() gets called for every move).
MoveSelector.getSize() will tell you the number of possible moves for
each step (but only a subset of those are evaluated)
To get either of those, you'll need to cast Solver to it's
implementation and get hold of the SolverScope.
What do you intent to do with it?
On 28-02-14 11:11, maciekpob wrote:
> Is there a way to get the number of possible moves generated by OptaPlanner?
>
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/Number-of-moves-in-Optaplanner-tp4028409.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
More information about the rules-users
mailing list