1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/lemon/base.cc Thu Dec 20 15:59:06 2007 +0000
1.3 @@ -0,0 +1,34 @@
1.4 +/* -*- C++ -*-
1.5 + *
1.6 + * This file is a part of LEMON, a generic C++ optimization library
1.7 + *
1.8 + * Copyright (C) 2003-2007
1.9 + * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
1.10 + * (Egervary Research Group on Combinatorial Optimization, EGRES).
1.11 + *
1.12 + * Permission to use, modify and distribute this software is granted
1.13 + * provided that this copyright notice appears in all copies. For
1.14 + * precise terms see the accompanying LICENSE file.
1.15 + *
1.16 + * This software is provided "AS IS" with no warranty of any kind,
1.17 + * express or implied, and with no claim as to its suitability for any
1.18 + * purpose.
1.19 + *
1.20 + */
1.21 +
1.22 +///\file
1.23 +///\brief Some basic non inline function and static global data.
1.24 +
1.25 +#include<lemon/tolerance.h>
1.26 +#include<lemon/bits/invalid.h>
1.27 +namespace lemon {
1.28 +
1.29 + float Tolerance<float>::def_epsilon = 1e-4;
1.30 + double Tolerance<double>::def_epsilon = 1e-10;
1.31 + long double Tolerance<long double>::def_epsilon = 1e-14;
1.32 +
1.33 +#ifndef LEMON_ONLY_TEMPLATES
1.34 + const Invalid INVALID = Invalid();
1.35 +#endif
1.36 +
1.37 +} //namespace lemon