Package org.neo4j.gds.executor
Class MemoryEstimationExecutor<ALGO extends org.neo4j.gds.Algorithm<ALGO_RESULT>,ALGO_RESULT,CONFIG extends org.neo4j.gds.config.AlgoBaseConfig>
- java.lang.Object
-
- org.neo4j.gds.executor.MemoryEstimationExecutor<ALGO,ALGO_RESULT,CONFIG>
-
public class MemoryEstimationExecutor<ALGO extends org.neo4j.gds.Algorithm<ALGO_RESULT>,ALGO_RESULT,CONFIG extends org.neo4j.gds.config.AlgoBaseConfig> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MemoryEstimationExecutor(AlgorithmSpec<ALGO,ALGO_RESULT,CONFIG,?,?> algoSpec, ExecutionContext executionContext)MemoryEstimationExecutor(AlgorithmSpec<ALGO,ALGO_RESULT,CONFIG,?,?> algoSpec, ExecutorSpec<ALGO,ALGO_RESULT,CONFIG> executorSpec, ExecutionContext executionContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.stream.Stream<org.neo4j.gds.results.MemoryEstimateResult>computeEstimate(java.lang.Object graphNameOrConfiguration, java.util.Map<java.lang.String,java.lang.Object> algoConfiguration)protected org.neo4j.gds.core.utils.mem.MemoryTreeWithDimensionsprocedureMemoryEstimation(org.neo4j.gds.core.GraphDimensions dimensions, java.util.Optional<org.neo4j.gds.core.utils.mem.MemoryEstimation> maybeEstimation, org.neo4j.gds.AlgorithmFactory<?,ALGO,CONFIG> algorithmFactory, CONFIG config)
-
-
-
Constructor Detail
-
MemoryEstimationExecutor
public MemoryEstimationExecutor(AlgorithmSpec<ALGO,ALGO_RESULT,CONFIG,?,?> algoSpec, ExecutorSpec<ALGO,ALGO_RESULT,CONFIG> executorSpec, ExecutionContext executionContext)
-
MemoryEstimationExecutor
public MemoryEstimationExecutor(AlgorithmSpec<ALGO,ALGO_RESULT,CONFIG,?,?> algoSpec, ExecutionContext executionContext)
-
-
Method Detail
-
computeEstimate
public java.util.stream.Stream<org.neo4j.gds.results.MemoryEstimateResult> computeEstimate(java.lang.Object graphNameOrConfiguration, java.util.Map<java.lang.String,java.lang.Object> algoConfiguration)
-
procedureMemoryEstimation
protected org.neo4j.gds.core.utils.mem.MemoryTreeWithDimensions procedureMemoryEstimation(org.neo4j.gds.core.GraphDimensions dimensions, java.util.Optional<org.neo4j.gds.core.utils.mem.MemoryEstimation> maybeEstimation, org.neo4j.gds.AlgorithmFactory<?,ALGO,CONFIG> algorithmFactory, CONFIG config)
-
-