Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define the interface for the "pyramid" #167

Merged
merged 8 commits into from
Dec 18, 2024
Merged

define the interface for the "pyramid" #167

merged 8 commits into from
Dec 18, 2024

Conversation

inabao
Copy link
Collaborator

@inabao inabao commented Nov 27, 2024

jinjiabao.jjb added 2 commits November 27, 2024 11:31
Signed-off-by: jinjiabao.jjb <[email protected]>
Signed-off-by: jinjiabao.jjb <[email protected]>
examples/cpp/simple_pyramid.cpp Show resolved Hide resolved
@@ -30,7 +30,8 @@
namespace vsag {

class DatasetImpl : public Dataset {
using var = std::variant<int64_t, const float*, const int8_t*, const int64_t*>;
using var =
std::variant<int64_t, const float*, const int8_t*, const int64_t*, const std::string*>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add the field comments?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The explanation of these fields can be found at the interface.

@inabao inabao self-assigned this Dec 3, 2024
Signed-off-by: jinjiabao.jjb <[email protected]>
Copy link
Collaborator

@jiaweizone jiaweizone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

examples/cpp/simple_pyramid.cpp Outdated Show resolved Hide resolved
src/index/pyramid.h Outdated Show resolved Hide resolved
src/index/pyramid.h Show resolved Hide resolved
src/index/pyramid.h Show resolved Hide resolved

std::mt19937 rng;
rng.seed(47);
std::uniform_real_distribution<> distrib_real;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add template float

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

jinjiabao.jjb added 2 commits December 17, 2024 19:34
Signed-off-by: jinjiabao.jjb <[email protected]>
Signed-off-by: jinjiabao.jjb <[email protected]>
Copy link
Collaborator

@LHT129 LHT129 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@inabao inabao merged commit cf12139 into main Dec 18, 2024
7 checks passed
@inabao inabao deleted the pyramid branch December 18, 2024 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants