Package org.boblycat.abbots

Examples of org.boblycat.abbots.Solver


        Socket sock = new Socket("munkeliv.ath.cx", 50000);
        Client client = new Client(sock);
        client.sendAndReceive("iama", "Oracle-powered Evil Daemon [" + cpus + " threads]");
        Board board = client.start();
        System.out.println("Got board:\n" + board);
        Solver solver = new Solver(board, true);
        String solution = solver.solveMultiThreaded(cpus, "");
        //System.out.println("Solution: " + solution);
        String servertime = client.solve(solution);
        System.out.println("Server time: " + servertime + " ms");
    }
View Full Code Here

TOP

Related Classes of org.boblycat.abbots.Solver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.