Comments (3)
retset[L] 和 retset[i] 在这些地方应该是效果相同的,因为 if (id >= nd_) continue;
事实上不会发生,所有的 id 都是互异的、有效的(假如输入的kNN图满足所有出边互异且有效的性质)
那么, if (id >= nd_) continue;
这个判断是否可以删除?
from nsg.
if (id >= nd_) continue;可以删除
from nsg.
改为 retset[L]是可以的,这部分类似的循环逻辑都可以重写。
from nsg.
Related Issues (20)
- Is this support vector added and deleted? HOT 1
- how to search by multi-cores HOT 1
- Why not optimize tree_grow function by union-find-set in Build function? HOT 1
- 你好,请教下,该算法在索引已建好的情况下,如何支持插入新数据,插入一条或多条? HOT 1
- Estimating the Local Intrinsic Dimensionality
- MRNG edge selection implement HOT 1
- syn dataset performance
- a simple question HOT 1
- Memory leak HOT 1
- logic error? HOT 1
- Build逻辑中,InterInsert函数实现有问题
- NSG on Deep100m dataset HOT 1
- Building NSG index for single core CPU HOT 1
- how to build on windows?
- The distance calculation of inner product is wrong. HOT 1
- Supported distance metrics HOT 1
- Inconsistent Greedy Search HOT 1
- unnecessary "flags[id] = true" HOT 1
- IndexNSG::InterInsert lock issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nsg.