Package org.neo4j.gds.approxmaxkcut
Class ApproxMaxKCutStreamProc
- java.lang.Object
-
- org.neo4j.gds.BaseProc
-
- org.neo4j.gds.AlgoBaseProc<ALGO,ALGO_RESULT,CONFIG,PROC_RESULT>
-
- org.neo4j.gds.StreamProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,ApproxMaxKCutStreamProc.StreamResult,org.neo4j.gds.impl.approxmaxkcut.config.ApproxMaxKCutStreamConfig>
-
- org.neo4j.gds.approxmaxkcut.ApproxMaxKCutStreamProc
-
- All Implemented Interfaces:
org.neo4j.gds.executor.AlgorithmSpec<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,org.neo4j.gds.impl.approxmaxkcut.config.ApproxMaxKCutStreamConfig,java.util.stream.Stream<ApproxMaxKCutStreamProc.StreamResult>,org.neo4j.gds.AlgorithmFactory<?,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.config.ApproxMaxKCutStreamConfig>>
public class ApproxMaxKCutStreamProc extends org.neo4j.gds.StreamProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,ApproxMaxKCutStreamProc.StreamResult,org.neo4j.gds.impl.approxmaxkcut.config.ApproxMaxKCutStreamConfig>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApproxMaxKCutStreamProc.StreamResult
-
Constructor Summary
Constructors Constructor Description ApproxMaxKCutStreamProc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.neo4j.gds.GraphAlgorithmFactory<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.config.ApproxMaxKCutStreamConfig>algorithmFactory()java.util.stream.Stream<org.neo4j.gds.results.MemoryEstimateResult>estimate(java.lang.Object graphNameOrConfiguration, java.util.Map<java.lang.String,java.lang.Object> algoConfiguration)protected org.neo4j.gds.impl.approxmaxkcut.config.ApproxMaxKCutStreamConfignewConfig(java.lang.String username, org.neo4j.gds.core.CypherMapWrapper config)protected org.neo4j.gds.api.properties.nodes.NodePropertyValuesnodeProperties(org.neo4j.gds.executor.ComputationResult<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,org.neo4j.gds.impl.approxmaxkcut.config.ApproxMaxKCutStreamConfig> computationResult)java.util.stream.Stream<ApproxMaxKCutStreamProc.StreamResult>stream(java.lang.String graphName, java.util.Map<java.lang.String,java.lang.Object> configuration)protected ApproxMaxKCutStreamProc.StreamResultstreamResult(long originalNodeId, long internalNodeId, org.neo4j.gds.api.properties.nodes.NodePropertyValues nodePropertyValues)-
Methods inherited from class org.neo4j.gds.AlgoBaseProc
compute, compute, computeEstimate, configParser, name, newConfigFunction, validationConfig
-
Methods inherited from class org.neo4j.gds.BaseProc
databaseId, executionContext, graphLoaderContext, graphStoreFromCatalog, isGdsAdmin, memoryUsageValidator, modelCatalog, runWithExceptionLogging, runWithExceptionLogging, setModelCatalog, username, validateConfig, validateConfig, validateGraphName
-
-
-
-
Method Detail
-
stream
public java.util.stream.Stream<ApproxMaxKCutStreamProc.StreamResult> stream(java.lang.String graphName, java.util.Map<java.lang.String,java.lang.Object> configuration)
-
estimate
public java.util.stream.Stream<org.neo4j.gds.results.MemoryEstimateResult> estimate(java.lang.Object graphNameOrConfiguration, java.util.Map<java.lang.String,java.lang.Object> algoConfiguration)
-
newConfig
protected org.neo4j.gds.impl.approxmaxkcut.config.ApproxMaxKCutStreamConfig newConfig(java.lang.String username, org.neo4j.gds.core.CypherMapWrapper config)- Specified by:
newConfigin classorg.neo4j.gds.AlgoBaseProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,org.neo4j.gds.impl.approxmaxkcut.config.ApproxMaxKCutStreamConfig,ApproxMaxKCutStreamProc.StreamResult>
-
algorithmFactory
public org.neo4j.gds.GraphAlgorithmFactory<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.config.ApproxMaxKCutStreamConfig> algorithmFactory()
-
streamResult
protected ApproxMaxKCutStreamProc.StreamResult streamResult(long originalNodeId, long internalNodeId, org.neo4j.gds.api.properties.nodes.NodePropertyValues nodePropertyValues)
- Specified by:
streamResultin classorg.neo4j.gds.StreamProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,ApproxMaxKCutStreamProc.StreamResult,org.neo4j.gds.impl.approxmaxkcut.config.ApproxMaxKCutStreamConfig>
-
nodeProperties
protected org.neo4j.gds.api.properties.nodes.NodePropertyValues nodeProperties(org.neo4j.gds.executor.ComputationResult<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,org.neo4j.gds.impl.approxmaxkcut.config.ApproxMaxKCutStreamConfig> computationResult)
- Overrides:
nodePropertiesin classorg.neo4j.gds.AlgoBaseProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,org.neo4j.gds.impl.approxmaxkcut.config.ApproxMaxKCutStreamConfig,ApproxMaxKCutStreamProc.StreamResult>
-
-