54 auto& data = longitudinal_plan->
getData();
55 for(
int i=0;i<data.nc();i++)
59 s = data(1,i) + s0_offset;
61 auto value = longitudinal_plan->
f(trel);
62 value(0) = value(0) + s0_offset;
64 for(
int der = 0; der<K && der<N; der++)
66 if(!(
info_.
getLB(0,der,t,s,ds)<=value(der) && value(der)<=
info_.
getUB(0,der,t,s,ds)))
return false;
81 template<
int K1,
int K2>
87 auto& data = longitudinal_plan->
getData();
88 for(
int i=0;i<data.nc();i++)
92 s = data(1,i) + s0_offset;
94 auto value = lateral_plan->
f(trel);
96 for(
int der = 0; der<K2 && der<N; der++)
98 if(!(
info_.
getLB(1,der,t,s,ds)<=value(der) && value(der)<=
info_.
getUB(1,der,t,s,ds)))
return false;
Definition: informationsetpostprocessing.h:32
NominalPlannerInformationSet< N+1, 2 > TInformationSet
Definition: informationsetpostprocessing.h:34
TInformationSet & getInformationSet()
Definition: informationsetpostprocessing.h:38
bool isLateralPlanValid(double t0_offset, double s0_offset, adore::mad::LLinearPiecewiseFunctionM< double, K1 > *longitudinal_plan, adore::mad::LLinearPiecewiseFunctionM< double, K2 > *lateral_plan)
Definition: informationsetpostprocessing.h:82
bool isLongitudinalPlanValid(double t0_offset, double s0_offset, adore::mad::LLinearPiecewiseFunctionM< double, K > *longitudinal_plan)
Definition: informationsetpostprocessing.h:50
TInformationSet info_
Definition: informationsetpostprocessing.h:36
Definition: llinearpiecewisefunction.h:139
virtual CT f(DT x) const override
Definition: llinearpiecewisefunction.h:251
adoreMatrix< T, n+1, 0 > & getData()
Definition: llinearpiecewisefunction.h:147
Definition: areaofeffectconverter.h:20