Giter VIP home page Giter VIP logo

bwtree's People

Contributors

flode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bwtree's Issues

Which Platform?

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?

Compilation Issues

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.

Updating the mapping table

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.