flode / bwtree Goto Github PK
View Code? Open in Web Editor NEWImplementation of the BwTree as specified by Microsoft Research
License: Other
Implementation of the BwTree as specified by Microsoft Research
License: Other
Hi,
I am trying to compile your code. But I failed both on os x and ubuntu platform.
The make errors were similar: "error: invalid value 'c++14' in '-std=c++14'".
Can you tell me which platform did you use to compile the code?
Hi,
I've noticed that during your inserts and deletes you create a new node for delta insert and delta delete, but you never update the mapping table to point to the new node, as far as I can see.
Would you be able to explain, where this happens?
Hi,
I've been having an issue compiling the current files and I've just made a few changes to try and remove the thread information since I wanted to reformat that. However, the issue I keep getting into is the error below:
In instantiation of ‘std::tuple<long unsigned int, long unsigned int> BwTree::Tree<Key, Data>::getConsolidatedLeafData(BwTree::Node<Key, Data>, std::vector<BwTree::KeyValue<Key, Data> >&) [with Key = unsigned int; Data = unsigned int]’:
/home/mayank/Documents/BW-Trees/src/bwtree.cpp:1126:24: required from here
/home/mayank/Documents/BW-Trees/src/bwtree.cpp:892:67: error: cannot convert ‘BwTree::KeyValue<unsigned int, unsigned int>’ to ‘std::array<unsigned int, 100>::value_type {aka unsigned int}’ in assignment
deltaInsertRecords[deltaInsertRecordsCount++] = node1->record;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/home/mayank/Documents/BW-Trees/src/bwtree.cpp:935:43: error: invalid const_cast from type ‘std::array<unsigned int, 100>::pointer {aka unsigned int}’ to type ‘BwTree::KeyValue<unsigned int, unsigned int>*’
KeyValue<Key, Data> *recordsdata[] = {const_cast<KeyValue<Key, Data> *>(deltaInsertRecords.data()), node1->records};
There seems to be an error with regards to the array and I'm wondering how you got around this, it might just be due to my lack of understanding, would be grateful if you could help.
I'm using c++14, and have imported the array container library as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.