32 virtual double getUB(
int dim,
int der,
double t,
double s,
double ds)
const = 0;
34 virtual double getLB(
int dim,
int der,
double t,
double s,
double ds)
const = 0;
36 virtual void update(
double t0,
double s0,
double ds0) =0;
48 typedef std::vector<ANominalConstraint*>
TCset;
49 typedef std::vector<ANominalReference*>
TRset;
50 typedef std::vector<ANominalPlannerInformation*>
TIset;
70 ref_[
r->getDimension()*N+
r->getDerivative()].push_back(
r);
105 ref_[
r->getDimension()*N +
r->getDerivative()].begin(),
106 ref_[
r->getDimension()*N +
r->getDerivative()].end(),
108 if (it !=
ref_[
r->getDimension()*N +
r->getDerivative()].end())
110 ref_[
r->getDimension()*N +
r->getDerivative()].erase(it);
151 if(
r->getValueIfAvailable(t,s,ds,ref))
return true;
155 if(subset->getReferenceIfAvailable(dim,der,t,s,ds,ref))
return true;
168 virtual double getUB(
int dim,
int der,
double t,
double s,
double ds)
const override
173 value = (
std::min)(value,c->getValue(t,s,ds));
177 value = (
std::min)(value,subset->getUB(dim,der,t,s,ds));
190 virtual double getLB(
int dim,
int der,
double t,
double s,
double ds)
const override
195 value = (
std::max)(value,c->getValue(t,s,ds));
199 value = (
std::max)(value,subset->getLB(dim,der,t,s,ds));
209 virtual void update(
double t0,
double s0,
double ds0)
override
211 for(
auto it=
subsets_.begin();it!=
subsets_.end();it++)(*it)->update(t0,s0,ds0);
212 for(
int i=0;i<D*N;i++)
for(
auto it=
ref_[i].begin();it!=
ref_[i].end();it++)(*it)->update(t0,s0,ds0);
213 for(
int i=0;i<D*N*2;i++)
for(
auto it=
bound_[i].begin();it!=
bound_[i].end();it++)(*it)->update(t0,s0,ds0);
Definition: anominalplanner.h:52
virtual ConstraintDirection getDirection()=0
virtual int getDimension()=0
virtual int getDerivative()=0
@ UB
Definition: anominalplanner.h:56
Definition: anominalplanner.h:96
T min(T a, T b, T c, T d)
Definition: adoremath.h:663
adoreMatrix< T, N, M > max(adoreMatrix< T, N, M > a, const adoreMatrix< T, N, M > &b)
Definition: adoremath.h:686
r
Definition: adore_suppress_lanechanges.py:209
Definition: areaofeffectconverter.h:20