Cbc
2.10.10
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
d
l
p
r
s
Functions
a
d
l
p
r
s
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
Related Functions
Files
File List
File Members
All
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
Functions
a
c
d
e
f
g
o
r
s
w
Variables
Enumerations
Enumerator
c
d
f
g
l
n
o
s
Macros
c
h
i
m
n
o
p
s
t
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Cbc
src
CbcCompare.hpp
Go to the documentation of this file.
1
/* $Id$ */
2
// Copyright (C) 2002, International Business Machines
3
// Corporation and others. All Rights Reserved.
4
// This code is licensed under the terms of the Eclipse Public License (EPL).
5
6
#ifndef CbcCompare_H
7
#define CbcCompare_H
8
9
class
CbcCompareBase
;
10
11
class
CbcCompare
{
12
public
:
13
CbcCompareBase
*
test_
;
14
// Default Constructor
15
CbcCompare
()
16
{
17
test_
= NULL;
18
}
19
20
virtual
~CbcCompare
() {}
21
22
bool
operator()
(
CbcNode
*x,
CbcNode
*y)
23
{
24
return
test_
->
test
(x, y);
25
}
26
bool
compareNodes
(
CbcNode
*x,
CbcNode
*y)
27
{
28
return
test_
->
test
(x, y);
29
}
31
inline
bool
alternateTest
(
CbcNode
*x,
CbcNode
*y)
32
{
33
return
test_
->
alternateTest
(x, y);
34
}
35
37
inline
CbcCompareBase
*
comparisonObject
()
const
38
{
39
return
test_
;
40
}
41
};
42
43
#endif
44
45
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
46
*/
CbcCompare::alternateTest
bool alternateTest(CbcNode *x, CbcNode *y)
This is alternate test function.
Definition:
CbcCompare.hpp:31
CbcCompareBase::test
virtual bool test(CbcNode *, CbcNode *)
This is test function.
Definition:
CbcCompareBase.hpp:106
CbcCompare::~CbcCompare
virtual ~CbcCompare()
Definition:
CbcCompare.hpp:20
CbcCompare::operator()
bool operator()(CbcNode *x, CbcNode *y)
Definition:
CbcCompare.hpp:22
CbcCompare::test_
CbcCompareBase * test_
Definition:
CbcCompare.hpp:13
CbcCompare::CbcCompare
CbcCompare()
Definition:
CbcCompare.hpp:15
CbcCompare::compareNodes
bool compareNodes(CbcNode *x, CbcNode *y)
Definition:
CbcCompare.hpp:26
CbcNode
Information required while the node is live.
Definition:
CbcNode.hpp:49
CbcCompareBase
Definition:
CbcCompareBase.hpp:26
CbcCompare
Definition:
CbcCompare.hpp:11
CbcCompareBase::alternateTest
virtual bool alternateTest(CbcNode *x, CbcNode *y)
This is alternate test function.
Definition:
CbcCompareBase.hpp:112
CbcCompare::comparisonObject
CbcCompareBase * comparisonObject() const
return comparison object
Definition:
CbcCompare.hpp:37
Generated by
1.8.17