On Oct 25, 2008, at 1:01 AM, Don Dailey <[EMAIL PROTECTED]> wrote:

It rarely plays anything other that E5, was E6 a fluke?    The other
numbers look correct to me.

I haven't posted the Vala version yet, but I bet it would be even easier
to port from it, since Vala is heavily based on C#.   I thought it was
pretty easy to port from Java to Vala except that I spent too much time
digging around in the documentation because I don't know C# or Vala or
barely Java.

Java to D was relatively straightforward too. I had to replace all the library calls with a matching D library call. Collection.shuffle was missing, so I included it from another D library. The only other required change was array initialization.

Non-critical changes:
I took some liberties with variable initialization since D default initializes data. I converted the class to a struct since that makes all function calls non-virtual. It seemed like less typing than marking all functions as final. There was also some accidental memory allocation in std.random that I commented out.



- Don


On Sat, 2008-10-25 at 00:46 -0400, Michael Williams wrote:
Porting the Java version to C# was really easy. Here are the numbers for 0.5 komi and 1000000 playouts:

genmove b
= E6
(took 136 seconds)

ref-nodes
= 111061901

ref-score
= 0.523573
_______________________________________________
computer-go mailing list
[email protected]
http://www.computer-go.org/mailman/listinfo/computer-go/
_______________________________________________
computer-go mailing list
[email protected]
http://www.computer-go.org/mailman/listinfo/computer-go/
_______________________________________________
computer-go mailing list
[email protected]
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to