BIE::CursorTessellation Class Reference

A pseudo tessellation to support point bayesian simulation for sequential update. More...

#include <CursorTessellation.h>

Inheritance diagram for BIE::CursorTessellation:
Collaboration diagram for BIE::CursorTessellation:

List of all members.

Public Member Functions

 CursorTessellation (RecordInputStream *ris, int ssize)
 Construct Tessellation from a record input stream.
 CursorTessellation (RecordInputStream *ris, int ssize, double minx, double miny, double maxx, double maxy)
 Construct Tessellation from a record input stream.
 ~CursorTessellation ()
 Destructor.
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.

Friends

class boost::serialization::access


Detailed Description

A pseudo tessellation to support point bayesian simulation for sequential update.

All of the points are simply a linear array and the nodes are arranged as a singly linked list. Always uses PointTile tiles.

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.

Somewhat inefficient, I suppose, this could be improved


Constructor & Destructor Documentation

BIE::CursorTessellation::CursorTessellation ( RecordInputStream ris,
int  ssize 
)

Construct Tessellation from a record input stream.

Parameters:
ris and
ssize number of values.

BIE::CursorTessellation::CursorTessellation ( RecordInputStream ris,
int  ssize,
double  minx,
double  miny,
double  maxx,
double  maxy 
)

Construct Tessellation from a record input stream.

Parameters:
ris and
ssize number of values. Include range limits for x (
minx and
maxx) and y (
miny and
maxy) coordinates.


Member Function Documentation

virtual void BIE::CursorTessellation::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