codac
2.0.0
Loading...
Searching...
No Matches
src
core
separators
codac2_SepTest.h
Go to the documentation of this file.
1
9
10
#pragma once
11
12
#include <type_traits>
13
#include "
codac2_Sep.h
"
14
#include "
codac2_Collection.h
"
15
#include "
codac2_template_tools.h
"
16
17
namespace
codac2
18
{
23
class
SepTest
:
public
Sep<SepTest>
24
{
25
public
:
26
32
template
<
typename
S>
33
requires
IsSepBaseOrPtr<S>
34
SepTest
(
const
S& s)
35
: Sep<
SepTest
>(size_of(s)), _sep(s)
36
{ }
37
45
BoxPair
separate
(
const
IntervalVector
& x)
const
;
46
47
protected
:
48
49
const
Collection<SepBase> _sep;
50
};
51
}
codac2::SepTest::SepTest
SepTest(const S &s)
Constructor for the separator.
Definition
codac2_SepTest.h:34
codac2::SepTest::separate
BoxPair separate(const IntervalVector &x) const
Separates the box. Both the inner and outer are either empty or the box itself.
codac2_Collection.h
codac2_Sep.h
codac2_template_tools.h
codac2
Definition
codac2_OctaSym.h:21
codac2::IntervalVector
Eigen::Matrix< Interval,-1, 1 > IntervalVector
Alias for a dynamic-size column vector of intervals.
Definition
codac2_IntervalVector.h:25
Generated by
1.16.1