Class Config.ConfigBuilder
java.lang.Object
com.apple.foundationdb.async.hnsw.Config.ConfigBuilder
- Enclosing class:
- Config
Builder for
Config.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConfigBuilder(boolean deterministicSeeding, Metric metric, boolean useInlining, int m, int mMax, int mMax0, int efConstruction, boolean extendCandidates, boolean keepPrunedConnections, double sampleVectorStatsProbability, double maintainStatsProbability, int statsThreshold, boolean useRaBitQ, int raBitQNumExBits, int maxNumConcurrentNodeFetches, int maxNumConcurrentNeighborhoodFetches) -
Method Summary
Modifier and TypeMethodDescriptionbuild(int numDimensions) intintgetM()doubleintintintgetMMax()intgetMMax0()intdoubleintbooleanbooleanbooleanbooleanbooleansetDeterministicSeeding(boolean deterministicSeeding) setEfConstruction(int efConstruction) setExtendCandidates(boolean extendCandidates) setKeepPrunedConnections(boolean keepPrunedConnections) setM(int m) setMaintainStatsProbability(double maintainStatsProbability) setMaxNumConcurrentNeighborhoodFetches(int maxNumConcurrentNeighborhoodFetches) setMaxNumConcurrentNodeFetches(int maxNumConcurrentNodeFetches) setMMax(int mMax) setMMax0(int mMax0) setRaBitQNumExBits(int raBitQNumExBits) setSampleVectorStatsProbability(double sampleVectorStatsProbability) setStatsThreshold(int statsThreshold) setUseInlining(boolean useInlining) setUseRaBitQ(boolean useRaBitQ)
-
Constructor Details
-
ConfigBuilder
public ConfigBuilder() -
ConfigBuilder
public ConfigBuilder(boolean deterministicSeeding, @Nonnull Metric metric, boolean useInlining, int m, int mMax, int mMax0, int efConstruction, boolean extendCandidates, boolean keepPrunedConnections, double sampleVectorStatsProbability, double maintainStatsProbability, int statsThreshold, boolean useRaBitQ, int raBitQNumExBits, int maxNumConcurrentNodeFetches, int maxNumConcurrentNeighborhoodFetches)
-
-
Method Details
-
isDeterministicSeeding
public boolean isDeterministicSeeding() -
setDeterministicSeeding
-
getMetric
-
setMetric
-
isUseInlining
public boolean isUseInlining() -
setUseInlining
-
getM
public int getM() -
setM
-
getMMax
public int getMMax() -
setMMax
-
getMMax0
public int getMMax0() -
setMMax0
-
getEfConstruction
public int getEfConstruction() -
setEfConstruction
-
isExtendCandidates
public boolean isExtendCandidates() -
setExtendCandidates
-
isKeepPrunedConnections
public boolean isKeepPrunedConnections() -
setKeepPrunedConnections
-
getSampleVectorStatsProbability
public double getSampleVectorStatsProbability() -
setSampleVectorStatsProbability
@Nonnull public Config.ConfigBuilder setSampleVectorStatsProbability(double sampleVectorStatsProbability) -
getMaintainStatsProbability
public double getMaintainStatsProbability() -
setMaintainStatsProbability
-
getStatsThreshold
public int getStatsThreshold() -
setStatsThreshold
-
isUseRaBitQ
public boolean isUseRaBitQ() -
setUseRaBitQ
-
getRaBitQNumExBits
public int getRaBitQNumExBits() -
setRaBitQNumExBits
-
getMaxNumConcurrentNodeFetches
public int getMaxNumConcurrentNodeFetches() -
setMaxNumConcurrentNodeFetches
-
getMaxNumConcurrentNeighborhoodFetches
public int getMaxNumConcurrentNeighborhoodFetches() -
setMaxNumConcurrentNeighborhoodFetches
public Config.ConfigBuilder setMaxNumConcurrentNeighborhoodFetches(int maxNumConcurrentNeighborhoodFetches) -
build
-