I want to design a pyramid data structure for spatial data. Pyramid data structure hierarchically decomposes the spatial space into H levels where
a level of height h has 4^h grid cells. The root of the pyramid is of height zero and has only one grid cell that covers the whole space. first level should contains 4, 2rd should contain 16 cells and so on.
So please just give me guideline how can i do this?
Through...
User Profile
Collapse
-
Hierarchical data structure
-
'interface' does not mean a type
Hi
I am getting error 'interface' does not mean a type at following line:
Can anybody figure out what this mean?Code:interface IEntry : public Tools::IObject { public: virtual id_type getIdentifier() const = 0; virtual void getShape(IShape** out) const = 0; virtual ~IEntry() {} }; -
i am doing simulation in NS2 for sensor networks , for query processing i have to implement B-tree
I just copy B-tree code from wiki pedia
but i am getting error in this loop right at the end of 1500 lines codes, so i am completly confuse what to do, i have searched through Documentation and found some information but unable to fix it -
I have replaced strstream with sstream but now got only one error in the following loop:
int search_count = 0;
for (int i=0; i<100000; i++) {
sstream stm;
stm << i;
stm >> search_vect[search_count++];
}
Error: sstream undeclared (First use this function)
(Each undeclared identifier is reported only once for each function it...Leave a comment:
-
strstream not found
#include <iostream>
#include <string>
#include <vector>
#include <strstream>
using namespace std;
At line 4, i am geeting error
warning This file includes at least one deprecated or antiquated header. \
Please consider using one of the 32 headers found in section 17.4.1.2 of the \
C++ standard. Examples include substituting the <X> header for the...
No activity results to display
Show More
Leave a comment: