Shadowrun: Awakened 29 September 2011 - Build 871
Classes | Namespaces | Defines | Typedefs | Functions | Variables
convex_hull.h File Reference
#include <cstdlib>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <vector>
#include <string>
#include <cstring>
#include <algorithm>
#include <functional>
#include <assert.h>
#include "tbb/tick_count.h"
Include dependency graph for convex_hull.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  util::edge< class >
struct  util::point< T >

Namespaces

namespace  cfg
namespace  util

Defines

#define _SCL_SECURE_NO_DEPRECATE

Typedefs

typedef tbb::tick_count util::my_time_t

Functions

double util::cross_product (const point< T > &start, const point< T > &end1, const point< T > &end2)
point< Tutil::GenerateRNDPoint (size_t &count, unsigned int &rseed)
my_time_t util::gettime ()
bool util::operator!= (point< T > p1, point< T > p2)
template<typename T >
ostream & util::operator<< (ostream &_ostr, point< T > _p)
bool util::operator== (point< T > p1, point< T > p2)
template<typename T >
istream & util::operator>> (istream &_istr, point< T > _p)
void util::ParseInputArgs (int argc, char *argv[])
int util::random (unsigned int &rseed)
double util::time_diff (my_time_t start, my_time_t end)
void util::WriteResults (int nthreads, double initTime, double calcTime)

Variables

const size_t cfg::DIVIDE_GS = 25000
const int cfg::ENT = 8
const size_t cfg::FINDEXT_GS = 25000
const size_t cfg::GENERATE_GS = 25000
long cfg::MAXPOINTS = NP
const long cfg::NP = 5000000
int cfg::NUM_THREADS_END = ENT
int cfg::NUM_THREADS_START = SNT
vector< string > util::OUTPUT
const int cfg::SNT = 1
bool util::VERBOSE = false

Define Documentation

Definition at line 32 of file convex_hull.h.


Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net