Open
Graph Drawing
Framework
v.2012.07
Overview
Class Hierarchy
Class Index
Class List
Members
Namespaces
Source Files
Module.h
Go to the documentation of this file.
1
/*
2
* $Revision: 2523 $
3
*
4
* last checkin:
5
* $Author: gutwenger $
6
* $Date: 2012-07-02 20:59:27 +0200 (Mon, 02 Jul 2012) $
7
***************************************************************/
8
43
#ifdef _MSC_VER
44
#pragma once
45
#endif
46
47
48
#ifndef OGDF_MODULE_H
49
#define OGDF_MODULE_H
50
51
52
#include <
ogdf/basic/basic.h
>
53
54
namespace
ogdf {
55
56
67
class
OGDF_EXPORT
Module
68
{
69
public
:
71
enum
ReturnType
{
72
retFeasible
,
73
retOptimal
,
74
retNoFeasibleSolution
,
75
retTimeoutFeasible
,
76
retTimeoutInfeasible
,
77
retError
78
};
79
81
Module
() { }
82
83
virtual
~Module
() { }
84
86
static
bool
isSolution
(
ReturnType
ret) {
87
return
ret == retFeasible || ret == retOptimal || ret == retTimeoutFeasible;
88
}
89
};
90
91
92
}
// end namespace ogdf
93
94
95
#endif
ogdf
basic
Module.h
© 1999-2012 by
TU Dortmund
,
University of Jena
,
University of Cologne
,
University of Sydney
,
oreas GmbH