List of all members.
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
f | describes a function to be estimated. |
: fobj(f), supCriterion(Sup(crit)), infCriterion(Inf(crit))
{}
Member Function Documentation
The visit operation.
- Parameters:
-
spn | a pointer to an SPnode to be visited. |
- Returns:
- BooleanMappedValue indicating whether the interval image under the function to be estimated by this of the box associated with the node pointed to by spn is inside or partially inside (ie overlaps with) the interval criterion of this.
Implements subpavings::SPValueVisitor< BooleanMappedValue >.
{
#ifdef MYDEBUG
std::cout << "in BooleanValueImageEstimator::visit, for " << spn->getNodeName() << std::endl;
#endif
ivector box = spn->getBox();
#ifdef MYDEBUG
std::cout << "this box is " << box << std::endl;
#endif
interval thisRange = fobj(box);
#ifdef MYDEBUG
std::cout << "this range is " << thisRange << std::endl;
#endif
return BooleanMappedValue( !(Sup(thisRange) < infCriterion)
&& !(Inf(thisRange) > supCriterion) );
}
The documentation for this class was generated from the following files:
- booleanvalue_image_estimate.hpp
- booleanvalue_image_estimate.cpp