Dip
0.92.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
tmp
Dip-0.92.4
Dip
examples
AP3
AP3_DecompParam.h
Go to the documentation of this file.
1
//===========================================================================//
2
// This file is part of the Decomp Solver Framework. //
3
// //
4
// Decomp is distributed under the Common Public License as part of the //
5
// COIN-OR repository (http://www.coin-or.org). //
6
// //
7
// Authors: Matthew Galati, SAS Institute Inc. (matthew.galati@sas.com) //
8
// Ted Ralphs, Lehigh University (ted@lehigh.edu) //
9
// Jiadong Wang, Lehigh University (jiw408@lehigh.edu) //
10
// //
11
// Copyright (C) 2002-2019, Lehigh University, Matthew Galati, and Ted Ralphs//
12
// All Rights Reserved. //
13
//===========================================================================//
14
15
#ifndef AP3_DECOMP_PARAM_INCLUDED
16
#define AP3_DECOMP_PARAM_INCLUDED
17
18
// --------------------------------------------------------------------- //
19
#include "UtilParameters.h"
20
21
// --------------------------------------------------------------------- //
31
// --------------------------------------------------------------------- //
32
class
AP3_DecompParam
{
33
public
:
34
string
DataDir
;
35
string
Instance
;
36
37
public
:
38
void
getSettings
(
UtilParameters
& utilParam){
39
static
const
char
* common =
"AP3"
;
40
DataDir
= utilParam.
GetSetting
(
"DataDir"
,
""
, common);
41
Instance
= utilParam.
GetSetting
(
"Instance"
,
""
, common);
42
}
43
44
void
dumpSettings
(ostream * os = &cout){
45
static
const
char
* common =
"AP3"
;
46
(*os) <<
"\n=====================================================\n"
47
<<
"AP3_DECOMP PARAMETER SETTINGS \n"
;
48
(*os) << common <<
": DataDir : "
<<
DataDir
<< endl;
49
(*os) << common <<
": Instance : "
<<
Instance
<< endl;
50
(*os) <<
"=====================================================\n"
;
51
}
52
53
public
:
54
AP3_DecompParam
():
55
DataDir
(
""
),
56
Instance
(
""
) {
57
};
58
~AP3_DecompParam
() {};
59
};
60
61
#endif
UtilParameters
Definition:
UtilParameters.h:30
AP3_DecompParam::dumpSettings
void dumpSettings(ostream *os=&cout)
Definition:
AP3_DecompParam.h:44
UtilParameters::GetSetting
string GetSetting(const char *name, const char *defaultValue, const char *section=NULL)
AP3_DecompParam::Instance
string Instance
Definition:
AP3_DecompParam.h:35
AP3_DecompParam::AP3_DecompParam
AP3_DecompParam()
Definition:
AP3_DecompParam.h:54
AP3_DecompParam::~AP3_DecompParam
~AP3_DecompParam()
Definition:
AP3_DecompParam.h:58
AP3_DecompParam::getSettings
void getSettings(UtilParameters &utilParam)
Definition:
AP3_DecompParam.h:38
AP3_DecompParam::DataDir
string DataDir
Definition:
AP3_DecompParam.h:34
AP3_DecompParam
Definition:
AP3_DecompParam.h:32
Generated by
1.8.5