GithubHelp home page GithubHelp logo

shrdlite-chalmers's Introduction

shrdlite

##Command to compile

In ./javaprolog

You can compile the pl file with

swipl shrdlite.pl    //for OSX

./shrdlite.pl       // for LINUX

In ./cgi-bin

chmod 777 killer.py

This file handles timeout and killing all swipl process that are pending.

Then in ./

python -m CGIHTTPServer 8000

Go to http://localhost:8000/shrdlite.html

##Test command

In order to test the project from the command line :

swipl -q -g main,halt -s javaprolog/shrdlite.pl < examples/small.json

##Physical laws

The world is ruled by physical laws that constrain the placement and movement of the objects:

  • The floor can support any number of objects.
  • All objects must be supported by something.
  • The arm can only hold one object at the time.
  • The arm can only pick up free objects.
  • Objects are “in” boxes, but “on” other objects.
  • Balls must be in boxes or on the floor, otherwise they roll away.
  • Balls cannot support anything.
  • Small objects cannot support large objects.
  • Boxes cannot contain pyramids or planks of the same size.
  • Boxes can only be supported by tables or planks of the same size, but large boxes can also be supported by large bricks.
  • There is an example world in the project template called impossible.json, which gives examples of bricks that break the physical laws in some way.

http://www.cse.chalmers.se/edu/course/TIN172/project.html

shrdlite-chalmers's People

Contributors

barodeur avatar boutry avatar eroverch avatar gegoggigog avatar heatherleaf avatar maximeheckel avatar medulli avatar schippersd 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.