COIN-OR::LEMON - Graph Library

source: lemon-0.x/lemon/base.cc @ 1853:dd0b47adc152

Last change on this file since 1853:dd0b47adc152 was 1853:dd0b47adc152, checked in by Alpar Juttner, 14 years ago

Fix template version of Invalid.

File size: 923 bytes
Line 
1/* -*- C++ -*-
2 * lemon/base.cc - Part of LEMON, a generic C++ optimization library
3 *
4 * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
5 * (Egervary Research Group on Combinatorial Optimization, EGRES).
6 *
7 * Permission to use, modify and distribute this software is granted
8 * provided that this copyright notice appears in all copies. For
9 * precise terms see the accompanying LICENSE file.
10 *
11 * This software is provided "AS IS" with no warranty of any kind,
12 * express or implied, and with no claim as to its suitability for any
13 * purpose.
14 *
15 */
16
17///\file
18///\brief Some basic non inline function and static global data.
19
20#include<lemon/tolerance.h>
21#include<lemon/invalid.h>
22namespace lemon {
23
24  double Tolerance<double>::def_epsilon = 1e-10;
25  float Tolerance<float>::def_epsilon = 1e-4;
26
27#ifndef LEMON_ONLY_TEMPLATES
28  const Invalid INVALID = Invalid();
29#endif
30
31} //namespace lemon
Note: See TracBrowser for help on using the repository browser.