Best First Search: Graphs

package graphs; import java.util.*; import graphs.State; public class GraphImplementation { public void dfs(Node root) { //Avoid infinite loops if(root == null) return; System.out.print(root.getVertex() + “\t”); root.state = State.Visited; //for every child for(Node n: root.getChild()) { //if childs state is not visited then recurse if(n.state == State.Unvisited) { dfs(n); } } } public void bfs(Node root) … Continue reading Best First Search: Graphs

Asignación 7: Cilog

A. tell brothers(X,Y) <- brother(X,Y). tell brothers(X,Y) <- sister(X,Y). tell sister(nathalia,nieves). tell brother(carlos,beltran). tell parent(X,Y) <- father(X,Y). tell parent(X,Y) <- mother(X,Y). tell brothers(Q,W) <- parent(X,Q) & parent(X,W). tell father(walt,carlos). tell father(walt,nathalia). tell mother(ana,carlos). tell mother(ana,nathalia). ask brothers(nathalia,nieves).   tell male(X). tell female(X). ask female(nathalia). B. tell pinta(X) <- ~fotografos (X). tell escultores(X) <- ~fotografos(X). tell … Continue reading Asignación 7: Cilog

Proyecto Final (2016)

Kevin Flores Alvarez 201-30-5386 Monografia: Inteligencia Artificial Abstract The definition of artificial intelligence is evolving constantly, and so are the mentalities of society. In a world where humans are always leaning on technology, some key questions need to be answered before embarking on the journey of artificial intelligence; Can it be done? If so, what … Continue reading Proyecto Final (2016)

Asignación #3: A* program

import java.util.PriorityQueue; import java.util.HashSet; import java.util.Set; import java.util.List; import java.util.Comparator; import java.util.ArrayList; import java.util.Collections; public class AstarSearchAlgo{ //h scores is the stright-line distance from the current city to Bucharest public static void main(String[] args){ //initialize the graph base on the Romania map Node n1 = new Node(“Arad”,366); Node n2 = new Node(“Zerind”,374); Node n3 = … Continue reading Asignación #3: A* program

Resumen

python graph searches packages Discussion about the articles published in each blog. Develop a graph (p. 64 chapter 4, WINSTON book) representing a network of cities and its connections. Develop the same idea as above, but with 20 nodes. Be able to explain these programs by Tuesday February 9th. keep posting on blog Find articles … Continue reading Resumen

Are these really AI machines?

http://www.cs.umb.edu/~ding/history/470_670_fall_2013/homework/hwk1_AI_Applications.html The website above provides a list of supposedly AI machines. I’ll talk about one of them and this one is called Cleverbot. Alvin Mai’s Cleverbot is a chatterbot that’s modeled after human behavior and able to hold a conversation. It does so by remembering words from conversations. The responses are not programmed. Instead, it finds keywords … Continue reading Are these really AI machines?

Has it really Arrived?

Elon Musk and Stephen Hawkins have been trying to convince the community that pursuing the course of building an AI machine will, inevitably, result in an AI apocalypse where the machines substitute the human race by every and any means available. Wired Magazine says AI problems that seemed nearly unassailable just a few years ago are … Continue reading Has it really Arrived?

Hello Darling

Mi nombre es Kevin, soy un estudiante en la Universidad del Sagrado Corazon. No soy mucho de estar en redes sociales ya que el trabajo me consume la gran mayoria de mi tiempo. Trabajo como especialista de inventario y como “fashion designer” tengo una mini-compania llamada Victoriano Flores. Como administrador de este blog, les exorto … Continue reading Hello Darling