/* HeuristicLab
* Copyright (C) 2002-2013 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
*
* This file is part of HeuristicLab.
*
* HeuristicLab is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* HeuristicLab is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with HeuristicLab. If not, see .
*/
#include
#include
#include
int main (int argc, char *argv[])
{
const int numPoints = 4;
const int dimension = 3;
long num[dimension*numPoints];
long den[dimension*numPoints];
num[0] = 1;
num[1] = 2;
num[2] = 2;
num[3] = 3;
num[4] = 4;
num[5] = 3;
num[6] = 3;
num[7] = 6;
num[8] = 3;
num[9] = 7;
num[10] = 8;
num[11] = 3;
den[0] = 1;
den[1] = 1;
den[2] = 1;
den[3] = 1;
den[4] = 1;
den[5] = 1;
den[6] = 1;
den[7] = 1;
den[8] = 1;
den[9] = 1;
den[10] = 1;
den[11] = 1;
double volume = calculate_volume(numPoints, dimension, num, den);
printf ("Volume is: %f", volume);
return 0;
}