Skip to content

Instantly share code, notes, and snippets.

// Author: Selcuk Orhan Demirel
// Date: 01/13/2011
// Demonstrates Depth First and Breadth First Traversal on Graphs
// Graph class implementation
include <iostream>
#include <Queue>
#include <Stack>
// Author: Selcuk Orhan Demirel
// Date: 01/13/2011
// Simple implementation of a HashTable in C++
// Uses an array of linklists to form a hashtable.
#include <string>
#include <list> // link list
using namespace std;
package perceptron;
import java.util.Random;
/**
*
* @author Orhan Demirel
*/
public class Perceptron {