Rev | Line | |
---|
[1835] | 1 | /* -*- C++ -*- |
---|
| 2 | * lemon/base.cc - Part of LEMON, a generic C++ optimization library |
---|
| 3 | * |
---|
[1875] | 4 | * Copyright (C) 2006 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport |
---|
[1835] | 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> |
---|
| 22 | namespace lemon { |
---|
| 23 | |
---|
| 24 | double Tolerance<double>::def_epsilon = 1e-10; |
---|
| 25 | float Tolerance<float>::def_epsilon = 1e-4; |
---|
| 26 | |
---|
[1853] | 27 | #ifndef LEMON_ONLY_TEMPLATES |
---|
[1836] | 28 | const Invalid INVALID = Invalid(); |
---|
[1853] | 29 | #endif |
---|
[1836] | 30 | |
---|
[1835] | 31 | } //namespace lemon |
---|
Note: See
TracBrowser
for help on using the repository browser.