Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
GreedySampler Class ReferenceIteratively samples over a one dimensional numeric region by subdividing the largest unsampled region. More...
Detailed DescriptionIteratively samples over a one dimensional numeric region by subdividing the largest unsampled region. This could be implemented 'closed form' to compute the samples iteratively without explicitly storing the regions, but one of the goals of this class is to 'seed' the initial samples based on domain-specific heuristics, and then use the sampler to pick any additional samples to explore the remaining space efficiently. Definition at line 14 of file GreedySampler.h.
Constructor & Destructor DocumentationConstruct with the range to be sampled, and mark if the range is circular. Definition at line 17 of file GreedySampler.h. Member Function Documentationassumes a circular range, puts x in the range which is being sampled (full) not the requested (reqMin) Definition at line 83 of file GreedySampler.cc. Referenced by remove().
Informs the sampler of an externally taken sample. If using a circular region, x will be internally normalized for processing, but it is still more efficient to pass a 'close' value Definition at line 35 of file GreedySampler.cc. remove sampled points, start fresh sampling Definition at line 74 of file GreedySampler.cc.
remove sampled points, start fresh sampling Definition at line 67 of file GreedySampler.cc.
returns the span of the largest unsampled region Definition at line 27 of file GreedySampler.cc.
Subdivides the largest region, returns the midpoint. Definition at line 6 of file GreedySampler.cc. Friends And Related Function Documentation
output for debugging, displays regions in the heap Definition at line 105 of file GreedySampler.cc. Member Data Documentation
if true, affects initialization and first sample, also causes remove to normalize its argument Definition at line 54 of file GreedySampler.h. Referenced by GreedySampler(), remove(), and reset().
the range being sampled (may differ from reqMin for circular regions with initial samples removed) Definition at line 51 of file GreedySampler.h. Referenced by GreedySampler(), normalize(), remove(), reset(), resolution(), and sample().
stores the unsampled regions Definition at line 53 of file GreedySampler.h. Referenced by GreedySampler(), operator<<(), remove(), reset(), resolution(), and sample().
requested output range (may differ from full.min for circular regions with initial samples removed) Definition at line 52 of file GreedySampler.h. The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:09 2016 by Doxygen 1.6.3 |