This file contains hidden or 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
// 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> |
This file contains hidden or 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
// 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; |
This file contains hidden or 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
package perceptron; | |
import java.util.Random; | |
/** | |
* | |
* @author Orhan Demirel | |
*/ | |
public class Perceptron { |