McBrain 9 release ...

Discussion of anything and everything relating to chess playing software and machines.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
MikeB
Posts: 3540
Joined: Thu Mar 09, 2006 5:34 am
Location: Pen Argyl, Pennsylvania

Re: McBrain 9 release ...

Post by MikeB » Fri Feb 16, 2018 3:50 am

Ovyron wrote:
MikeB wrote:No need to modify the source - you can get that by using current McBrain and just using the multipv option. Tactical displays only the main line
No, they're not equivalent, I can do many things with the Tactical setting that I can't do with MultiPV.

With Tactical I can set the engine to make some move on the board at some depth, and it will be played saving me the time to make it on the board, while MultiPV would only analyze infinitely.

With Tactical I can use "Shout out" in my GUI and have it play against itself till the end of the game, and have the GUI store all the analysis of all positions.

MultiPV can't do that, but Tactical is making me miss a lot of info in the positions for the analyzed moves that weren't played that would have appeared on the GUI.

Again, I'm asking for help about how to make Tactical behave in a way it'd have behaved originally for analysis, as it makes no sense to use Tactical to find the best move and then switch to MultiPV or use "go searchmoves" to look for alternatives, when Tactical could have showed them on the first place.

Please, all I'm asking for is pointers about how to introduce these changes myself.
Take look a search.cpp and search for tactical , there are only 7 matches. But it may not work as you desire and you will see why when you at the code.

User avatar
Ovyron
Posts: 2818
Joined: Tue Jul 03, 2007 2:30 am

Re: McBrain 9 release ...

Post by Ovyron » Fri Feb 16, 2018 9:06 am

MikeB wrote:Take look a search.cpp and search for tactical , there are only 7 matches. But it may not work as you desire and you will see why when you at the code.
Okay, thanks.
Great spirits have always encountered violent opposition from mediocre minds.

User avatar
Ovyron
Posts: 2818
Joined: Tue Jul 03, 2007 2:30 am

Re: McBrain 9 release ...

Post by Ovyron » Fri Feb 16, 2018 9:41 am

I did it! Changing this code:

Code: Select all

  if (tactical)
	{
	  temp = multiPV;
          multiPV = 1;
	}
For this:

Code: Select all

  if (tactical)
	{
	  temp = multiPV;
	}
Makes Tactical behave like I wanted showing scores of all moves analyzed! I have the feeling this is going to be powerful for my analysis methods, awesome!

Thanks Michael for the pointers and thanks again for all your work on McBrain, good luck on the future! :D
Great spirits have always encountered violent opposition from mediocre minds.

Post Reply