Giter VIP home page Giter VIP logo

clisp-files's Introduction

CLISP CODE FOR COMPUTATIONAL INTELLIGENCE LAB NITC 2018

Author Mathew George

All files written in CLISP.

tictactoeminimax.lsp

Implement the two player game Tic-Tac-Toe Using the Minimax search algorithm with fixed ply look ahead.

tictactoealphabeta.lsp

Implement the two player game Tic-Tac-Toe Using the Minimax search algorithm with alpha beta pruning and fixed ply look ahead.

nqueens.lsp

Implement N-Queens problem .
    The program should print all the board configurations of size NXN such that N Queens can be placed in the board without any conflict.(The value N should be given as input)

2sat.lsp

Write a program that can find models for propositional well formed formulas given in CNF form with every clause having two terms (e.g. (AѵB)ᴧ(B ѵ┐D) ᴧ (CѵB)).  If no model exists it should return "unsatisfiable".

fwgc.lsp

Solve the Farmer, Wolf, Goat and Cabbage Problem. 
(Note: A farmer with his wolf, goat and cabbage come to the bank of a river which they wish to cross. There is a  boat on the bank of the river and the farmer knows to row it. But, the boat can only carry two things at a time . If the wolf is ever left alone with the goat, the wolf will eat the goat; similarly the goat will eat the cabbage if they are left alone.  The program should output a sequence of steps using which  the farmer can safely cross the river with his belongings) 

waterjug.lsp

Solve the Water Jug Problem. 
(Note: The problem is explained in the class. The program is expected to output the sequences of steps required to produce the required amount of water in the jug specified. The capacities of the jugs and the goal state should be given as input). 
For searching the state space please try to use the following algorithms for the above two problems: 
	a) Depth First Search 
	b) Breadth first Search 

8puzzle.lsp

Implement the 8-Puzzle problem using Best first search.(Use an admissible heuristic so that your algorithm becomes A*). 

this is a random change

clisp-files's People

Contributors

mattyco 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.