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 <stdio.h> | |
void callFunc(int (*funcp)(void)) { | |
printf("%d", (*funcp)()); | |
} | |
int func() { | |
return 1; | |
} |
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
package opt; | |
import shared.Instance; | |
/** | |
* A randomized hill climbing algorithm | |
* @author Andrew Guillory gtg008g@mail.gatech.edu | |
* @version 1.0 | |
*/ | |
public class RandomizedHillClimbing extends OptimizationAlgorithm { |
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
#!/usr/bin/env python | |
'''Script for taking a screenshot with selenium | |
Install selenium using pip: | |
[sudo] pip install selenium | |
''' | |
import os | |
from selenium import webdriver |