Class ApproxMaxKCutStreamProc


  • 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.ApproxMaxKCutStreamConfig>
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ApproxMaxKCutStreamProc.StreamResult  
      • Nested classes/interfaces inherited from class org.neo4j.gds.AlgoBaseProc

        org.neo4j.gds.AlgoBaseProc.ComputationResult<A extends org.neo4j.gds.Algorithm<A,​RESULT>,​RESULT extends java.lang.Object,​CONFIG extends org.neo4j.gds.config.AlgoBaseConfig>
      • Nested classes/interfaces inherited from class org.neo4j.gds.BaseProc

        org.neo4j.gds.BaseProc.FreeMemoryInspector
    • Field Summary

      • Fields inherited from class org.neo4j.gds.AlgoBaseProc

        STATS_DESCRIPTION
      • Fields inherited from class org.neo4j.gds.BaseProc

        allocationTracker, api, callContext, ESTIMATE_DESCRIPTION, log, procedureTransaction, taskRegistryFactory, transaction
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.neo4j.gds.AlgorithmFactory<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,​org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig> algorithmFactory()  
      java.util.stream.Stream<org.neo4j.gds.results.MemoryEstimateResult> estimate​(java.lang.Object graphNameOrConfig, java.util.Map<java.lang.String,​java.lang.Object> configuration)  
      protected org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig newConfig​(java.lang.String username, java.util.Optional<java.lang.String> graphName, java.util.Optional<org.neo4j.gds.config.GraphCreateConfig> maybeImplicitCreate, org.neo4j.gds.core.CypherMapWrapper config)  
      protected org.neo4j.gds.api.NodeProperties nodeProperties​(org.neo4j.gds.AlgoBaseProc.ComputationResult<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,​org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,​org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig> computationResult)  
      java.util.stream.Stream<ApproxMaxKCutStreamProc.StreamResult> stream​(java.lang.Object graphNameOrConfig, java.util.Map<java.lang.String,​java.lang.Object> configuration)  
      protected ApproxMaxKCutStreamProc.StreamResult streamResult​(long originalNodeId, long internalNodeId, org.neo4j.gds.api.NodeProperties nodeProperties)  
      • Methods inherited from class org.neo4j.gds.StreamProc

        stream
      • Methods inherited from class org.neo4j.gds.AlgoBaseProc

        algoName, compute, compute, computeEstimate, getOrCreateGraphStore, newConfig, processInput, sharedConfigKeys, validateConfigsAfterLoad, validateConfigsBeforeLoad, validateConfigWithGraphStore
      • Methods inherited from class org.neo4j.gds.BaseProc

        allocationTracker, catalogRequest, databaseId, estimateGraphCreate, graphStoreFromCatalog, isGdsAdmin, newLoader, runWithExceptionLogging, runWithExceptionLogging, tryValidateMemoryUsage, tryValidateMemoryUsage, username, validateConfig, validateConfig, validateGraphName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ApproxMaxKCutStreamProc

        public ApproxMaxKCutStreamProc()
    • Method Detail

      • stream

        public java.util.stream.Stream<ApproxMaxKCutStreamProc.StreamResult> stream​(java.lang.Object graphNameOrConfig,
                                                                                    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 graphNameOrConfig,
                                                                                            java.util.Map<java.lang.String,​java.lang.Object> configuration)
      • newConfig

        protected org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig newConfig​(java.lang.String username,
                                                                                       java.util.Optional<java.lang.String> graphName,
                                                                                       java.util.Optional<org.neo4j.gds.config.GraphCreateConfig> maybeImplicitCreate,
                                                                                       org.neo4j.gds.core.CypherMapWrapper config)
        Specified by:
        newConfig in class org.neo4j.gds.AlgoBaseProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,​org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,​org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig>
      • algorithmFactory

        protected org.neo4j.gds.AlgorithmFactory<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,​org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig> algorithmFactory()
        Specified by:
        algorithmFactory in class org.neo4j.gds.AlgoBaseProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,​org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,​org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig>
      • streamResult

        protected ApproxMaxKCutStreamProc.StreamResult streamResult​(long originalNodeId,
                                                                    long internalNodeId,
                                                                    org.neo4j.gds.api.NodeProperties nodeProperties)
        Specified by:
        streamResult in class org.neo4j.gds.StreamProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,​org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,​ApproxMaxKCutStreamProc.StreamResult,​org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig>
      • nodeProperties

        protected org.neo4j.gds.api.NodeProperties nodeProperties​(org.neo4j.gds.AlgoBaseProc.ComputationResult<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,​org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,​org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig> computationResult)
        Overrides:
        nodeProperties in class org.neo4j.gds.AlgoBaseProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,​org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,​org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig>