lemon/base.cc
author deba
Wed, 25 Jan 2006 12:10:18 +0000
changeset 1902 e9af75c90c28
parent 1875 98698b69a902
child 1956 a055123339d5
permissions -rw-r--r--
state setting function for heaps

If we know that which elements were in the heap then
we can clear it in better time complexity.
     1 /* -*- C++ -*-
     2  * lemon/base.cc - Part of LEMON, a generic C++ optimization library
     3  *
     4  * Copyright (C) 2006 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>
    22 namespace lemon {
    23 
    24   float Tolerance<float>::def_epsilon = 1e-4;
    25   double Tolerance<double>::def_epsilon = 1e-10;
    26   long double Tolerance<long double>::def_epsilon = 1e-14;
    27 
    28 #ifndef LEMON_ONLY_TEMPLATES
    29   const Invalid INVALID = Invalid();
    30 #endif
    31 
    32 } //namespace lemon