Giter Site home page Giter Site logo

deductive_systems's People

Contributors

joejnke avatar

Watchers

 avatar  avatar

deductive_systems's Issues

Implement-Model

Implement model attribute of the world class in a way the statements will be represented in logical syllogism.

Room class

world is the actual game world and room is one grid in this world right? if so what is the relationship between them does room a subclass of world ? for every game, content in room can be different as mentioned in class we should randomize the place of wumpus, gold and pit if so how do you plan to handle this randomness ?

Initial design

we will have four classes Agent, World, Action and precept

represent variable
repr
#Agent #World
-current_postition -state
-ok +draw_world()
-visited
-stench
-breeze
+change_position(where to go)

  • get_ajacent(current_position)
    +perceive(adjacent)
    +do_logical_inference(perceived)
    +take_action(logical infered)
    #Action #Percept
    +goto_left() +is_stench(position)
    +goto_right() +is_glitter(position)
    +goto_up() +is_breeze(position)
    +goto_down() +is_bump(position)
    +shoot(where to shoot)
    +grab_gold()
    +climb_out()

=>Agent initialized at position 1, 1 before the agent take action it execute the get_adjacent method and for this method agent passes its current position
=> After agent gets its adjacent it iteratively calls perceive method for each adjacent point and in perceive method all methods in percept class will be executed
eg Vector perceive (adjacent1){
is_stench(adacent1)
...
}
=>then we let the agent do logical inference based on his knowledge about the world and let the agent take the appropriate action

This is the abstract idea I propose

Agent-class-Implementation

Implement and test every component of the Agent class except the program_evaluator() function as described in the project plan. The program_evaluator() function will be made with an iterative code that makes random guess on states of neighboring rooms.

Agent class

why do agent have its own version of grid ?
why do not agent use already created grid in world class?

World Class

why do you include agent_status attribute in world class?

Add-CMake

Add CMake files to build and install the whole project.

World-class-Implementation

Implement and test every component of the world class except the "model" attribute. This attribute will be replaced with some trivial value for the time being.

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.