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
#include <iostream> | |
#include <chrono> | |
#include <random> | |
#define DOUBLE_PRECISION 10000 | |
#define LAMBDA 5 | |
using namespace std; | |
struct packet { |
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
#!/usr/bin/env python | |
import subprocess | |
import sys | |
# pip install flickrapi | |
# project home: http://stuvel.eu/flickrapi | |
import flickrapi | |
api_key = '00000000000000000000000000000000' # obtain your api key at http://www.flickr.com/services |
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
//Exp 1 all parts | |
//Author: KS [not to be shared till Mon evening!] | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <math.h> | |
int NODE_COUNT=12; | |
int MAX_COST=99; | |
float Dg = 1.8; |
NewerOlder