GithubHelp home page GithubHelp logo

samwhitlock / ice Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 264 KB

A multi-threaded implementation of a gametree solver. See URL for further implementation details.

Home Page: http://inst.eecs.berkeley.edu/~cs61c/sp10/assignments/ice/

License: GNU General Public License v3.0

Shell 0.92% C 99.08%

ice's Introduction

ICE Performance Contest

Authors:

  • Michael Forney
  • Sam Whitlock

Running

Run make, then ./ice start.pbm end.pbm

Notes

Our solution will usually answer quickly (within 10 seconds), but every once in a while will take much longer. We were unable to solve this problem by the deadline, but we think it's because it is getting falsely mislead down incorrect paths by our calculate_score function.

We ended up using a hack to get the threads to consistantly terminate by just calling exit. It seems that cancellation points are not created with Macs in the necessary places, and we figured consistancy was better than quality in this case.

Our tests no longer pass because of changes we made to the core of our program and the changes necessary to make this consistent.

ice's People

Contributors

michaelforney avatar samwhitlock avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.