This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef DATA_AM | |
#define DATA_AM | |
#include <iostream> | |
#include <stdlib.h> | |
#include <GL/glut.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include<time.h> | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Alex Marroquin | |
CSCI 4350 Artificial Intelligence | |
Homework 3: N-Queen Solution with Genetic Algorithm | |
main.cpp | |
*/ | |
#include<iostream> | |
#include<fstream> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Alex Marroquin | |
CSCI 3333 | |
11-21-12 | |
Homework 8: Djikstra's Algorithm with Heap implementation | |
main.cpp | |
*/ | |
#include<string> | |
#include<iostream> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Alex Marroquin | |
CSCI 4350 Artificial Intelligence | |
Homework 2: Ant Colony Optimization Implementation | |
main.cpp | |
*/ | |
#include<iostream> | |
#include<string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Alex Marroquin | |
CSCI 4350 Artificial Intelligence | |
Homework 1: A* Implementation | |
main.cpp | |
Given an input file with the list of all the cities, edges, and other data the A* algorithm | |
must find the shortest path between 2 locations depending on the heuristic. In this case | |
the heuristic must depend on the straight line distance to the destination, distance from the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CSCI 3333 Data Structures & Algorithms | |
// Alex Marroquin | |
// 9-21-12 | |
// Hwk #4: Speed Table - AVLTree.h | |
//AVL tree used to store student data | |
#include<iostream> | |
#include<string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class Alien extends GameObject | |
{ | |
Random dice; | |
int cnt = 1; | |
int dx; | |
int rand = 0; | |
boolean shot; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <GLUT/glut.h> | |
#include <stdlib.h> | |
#include<iostream> | |
#include<fstream> | |
#include<string> | |
#include<time.h> | |
using namespace std; | |
float radius; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.*; | |
public class Brick { | |
int x, y; | |
int width, height; | |
boolean broken; | |
Brick() | |
{ | |
x = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.*; | |
import javax.swing.*; | |
public class Frog extends Rectangle | |
{ | |
ImageIcon pic; | |
Frog() | |
{ | |
x = 300; | |
y = 160; |
OlderNewer