examples/graph.cpp File Reference
Draw a random complete graph.
More...
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <fstream>
#include <cmath>
#include <vector>
#include <utility>
#include "Board.h"
|
Functions |
int | coordinate (int width) |
int | main (int, char *[]) |
Variables |
const int | HALF_RAND = RAND_MAX/16 |
const double | dy = 10 |
Detailed Description
Draw a random complete graph.
- Author:
- Sebastien Fourey <http://www.greyc.ensicaen.fr/~seb>
- Date:
- Tue Aug 21
This source code is part of the Board project, a C++ library whose purpose is to allow simple drawings in EPS, FIG or SVG files. Copyright (C) 2007 Sebastien Fourey <
http://www.greyc.ensicaen.fr/~seb/>