BIE::PointTessellation Class Reference

A pseudo tessellation to support point bayesian simulation. More...

#include <PointTessellation.h>

Inheritance diagram for BIE::PointTessellation:
Collaboration diagram for BIE::PointTessellation:

List of all members.

Public Member Functions

 PointTessellation (Tile *t, RecordInputStream *ris)
 Constructor from a tile instance and RecordInputStream.
 PointTessellation (Tile *t, RecordInputStream *ris, double minx, double miny, double maxx, double maxy)
 Constructor from a tile instance and RecordInputStream with limits in the x and y coordinates.
vector< int > GetRootTiles ()
 Returns the tile id of the tree root.
vector< Node * > GetRootNodes ()
 Returns the root node.
virtual void FindAll (double x, double y, vector< int > &found)
 Override.

Static Public Attributes

static double MinX
 The default limits for the valid tessellation region These values will be used for constructors that do not specify the limits explicitly.
static double MaxX
static double MinY
static double MaxY

Friends

class boost::serialization::access


Detailed Description

A pseudo tessellation to support point bayesian simulation.

All of the points are read in to the leaves of a binary tree. Each leaf node is associated with a PointTile - a degenerate tile holding a single point. The level above the leaves is a (factor of 2) subsampling of the leave nodes - it is a copy of of half of the leaf nodes. Each correspondingly higher level in the tree contains half of the nodes at the next lower level.

To fit in with the existing architecture, the tree is not populated with points here. The full distribution does that, by reading in the points again. The full distribution will ask the tesslation for all of the "tiles" that a given point is in. This module will return a list of those tiles (potentially one per level). The full distribution will then populate the tile.


Member Function Documentation

virtual void BIE::PointTessellation::FindAll ( double  x,
double  y,
vector< int > &  found 
) [virtual]

Override.

Find all tiles in the tessellation tree with the given coordinates

Reimplemented from BIE::Tessellation.


The documentation for this class was generated from the following file:

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:12 2010 by doxygen