Giter Club home page Giter Club logo

expert_system's Introduction

expert_system

The goal of this project is to make an expert system for propositional calculus.

The program accept one parameter, which is the input file. It will contain a listof rules, then a list of initial facts, then a list of queries. For each of these queries, the program, given the facts and rules, tell if the query is true, false, or undetermined. By default, all facts are false, and can only be made true by the initial facts statement, or by application of a rule. If there is an error in the input, for example a contradiction in the facts, or a syntaxerror, the program must inform the user of the problem.

[ + ] : "AND" conditions. For example,"If A and B and [...] then X"

[ | ] : "OR" conditions. For example,"If C or D then Z"

[ ^ ] : "XOR" conditions. For example,"If A xor E then V". Remember that thismeans "exclusive OR". It is only true if one and only one of the operands is true.

[ ! ] : Negation. For example,"If A and not B then Y"

[ (, ) ] : Parentheses in expressions. Interpreted in much the same way as an arithmetic expression

You can find input file examples in the tests folder

expert_system's People

Contributors

sflinois avatar knox09 avatar

Watchers

James Cloos 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.