Giter Club home page Giter Club logo

uninformed_search_graphs's Introduction

Artificial Intelligence: Uninformed Search Graphs

This project is an introduction to uninformed search graphs in Artificial Intelligence and will visualize graphs.

This purpose of this project is to:

  • use Python to represent trees and graphs
  • manipulate trees and graphs
  • visualize trees and graphs
  • use Python for uninformed graph search

A graph is a collection of vertices, or nodes, and edges, which are connections between different vertices (https://en.wikipedia.org/wiki/Graph_(discrete_mathematics). These graphs are visually represented with labels enclosed in a circle for the vertices, and lines connecting vertices which are the edges.

A directed graph has edges that are arrows, meaning there is a connection from one vertex to another, any other graph is an undirected graph.

Uninformed Search Algorithms:

involves knowledge of both trees and graphs problem is to find a sequence of vertices connected by their edges from one vertex to another. "uninformed" means that only available information is the lists of nodes next to other nodes so far, "informed" means there is more information available. than just the adjacency

DFS: Depth-First Search

Means of traversing through a graph or a tree. the search starts at a defined vertex (or root), chooses a vertex adjacent to the root, then proceeds down each branch before it starts to backtrack. DFS wants to visit undiscovered vertices as soon as possible resulting in deep seearch trees

BFS: Breadth-First Search

search starts at root vertex, looks at all neighbors, then each of those neighbors, etc. visits each vertex in order of its distance from the start (number of edges). vertices closer to first vertex are visited first. first-in-first-out (FIFO) to maintain stack (stack == frontier). preserves the order the nodes are visited.

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.