Toggle navigation
SCIP Optimization Suite
SCIP
SoPlex
ZIMPL
UG
GCG
Documentation
SoPlex 6.0.3
SoPlex 5.0.2
SoPlex 4.0.2
SoPlex 3.1.0
SoPlex 3.0.1
SoPlex 2.2.1
SoPlex
Sequential object-oriented simPlex
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
soplex-repo
src
notimer.h
Go to the documentation of this file.
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2
/* */
3
/* This file is part of the class library */
4
/* SoPlex --- the Sequential object-oriented simPlex. */
5
/* */
6
/* Copyright (C) 1996-2015 Konrad-Zuse-Zentrum */
7
/* fuer Informationstechnik Berlin */
8
/* */
9
/* SoPlex is distributed under the terms of the ZIB Academic Licence. */
10
/* */
11
/* You should have received a copy of the ZIB Academic License */
12
/* along with SoPlex; see the file COPYING. If not email to soplex@zib.de. */
13
/* */
14
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15
16
/**@file notimer.h
17
* @brief NoTimer class.
18
*/
19
20
#ifndef _NO_TIMER_H_
21
#define _NO_TIMER_H_
22
23
#include "
spxdefines.h
"
24
#include "
timer.h
"
25
26
namespace
soplex
27
{
28
29
class
NoTimer
:
public
Timer
30
{
31
32
public
:
33
34
//------------------------------------
35
/**@name Construction / destruction */
36
//@{
37
/// default constructor
38
NoTimer
()
39
:
Timer
()
40
{}
41
/// copy constructor
42
NoTimer
(
const
NoTimer
&)
43
:
Timer
()
44
{}
45
/// assignment operator
46
NoTimer
&
operator=
(
const
NoTimer
&)
47
{
48
return
*
this
;
49
}
50
51
virtual
~NoTimer
()
52
{}
53
//@}
54
55
//------------------------------------
56
/**@name Control */
57
//@{
58
/// initialize timer
59
virtual
void
reset
()
60
{}
61
62
/// start timer
63
virtual
void
start
()
64
{}
65
66
/// stop timer
67
virtual
Real
stop
()
68
{
69
return
0.0;
70
}
71
72
/// return type of timer
73
virtual
TYPE
type
()
74
{
75
return
OFF
;
76
}
77
//@}
78
79
//------------------------------------
80
/**@name Access */
81
//@{
82
virtual
Real
time
()
const
83
{
84
return
0.0;
85
}
86
87
virtual
Real
lastTime
()
const
88
{
89
return
0.0;
90
}
91
92
//@}
93
};
94
}
// namespace soplex
95
#endif // _NO_TIMER_H_