Class BFS
- java.lang.Object
-
- com.alibaba.graphscope.example.bfs.BFS
-
- All Implemented Interfaces:
AppBase<Long,Long,Double,Long,BFSContext>
,ParallelAppBase<Long,Long,Double,Long,BFSContext>
,ParallelEngine
public class BFS extends Object implements ParallelAppBase<Long,Long,Double,Long,BFSContext>, ParallelEngine
-
-
Field Summary
-
Fields inherited from interface com.alibaba.graphscope.parallel.ParallelEngine
chunkSize
-
-
Constructor Summary
Constructors Constructor Description BFS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
IncEval(IFragment<Long,Long,Double,Long> fragment, ParallelContextBase<Long,Long,Double,Long> context, ParallelMessageManager messageManager)
Incremental Evaluation to implement.void
PEval(IFragment<Long,Long,Double,Long> fragment, ParallelContextBase<Long,Long,Double,Long> context, ParallelMessageManager messageManager)
Partial Evaluation to implement.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.alibaba.graphscope.parallel.ParallelEngine
forEachLabelVertex, forEachLabelVertex, forEachVertex, forEachVertex, forEachVertex, forEachVertexSendMsg, forEachVertexSendMsg
-
-
-
-
Method Detail
-
PEval
public void PEval(IFragment<Long,Long,Double,Long> fragment, ParallelContextBase<Long,Long,Double,Long> context, ParallelMessageManager messageManager)
Description copied from interface:ParallelAppBase
Partial Evaluation to implement.- Specified by:
PEval
in interfaceParallelAppBase<Long,Long,Double,Long,BFSContext>
- Parameters:
fragment
- fragment. The graph fragment providing accesses to graph data.context
- context. User defined context which manages data during the whole computations.messageManager
- The message manger which manages messages between fragments.- See Also:
IFragment
,ParallelContextBase
,ParallelMessageManager
-
IncEval
public void IncEval(IFragment<Long,Long,Double,Long> fragment, ParallelContextBase<Long,Long,Double,Long> context, ParallelMessageManager messageManager)
Description copied from interface:ParallelAppBase
Incremental Evaluation to implement.- Specified by:
IncEval
in interfaceParallelAppBase<Long,Long,Double,Long,BFSContext>
- Parameters:
fragment
- fragment. The graph fragment providing accesses to graph data.context
- context. User defined context which manages data during the whole computations.messageManager
- The message manger which manages messages between fragments.- See Also:
IFragment
,ParallelContextBase
,ParallelMessageManager
-
-