Interface VertexComputing
-
- All Known Implementing Classes:
ConnectedComponentVertexProgramStep
,PageRankVertexProgramStep
,PeerPressureVertexProgramStep
,ProgramVertexProgramStep
,ShortestPathVertexProgramStep
,TraversalVertexProgramStep
,VertexProgramStep
public interface VertexComputing
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VertexProgram
generateProgram(Graph graph, Memory memory)
Generate theVertexProgram
.Computer
getComputer()
Get theComputer
for generating theGraphComputer
.void
setComputer(Computer computer)
Set theComputer
to be used to generate theGraphComputer
.
-
-
-
Method Detail
-
setComputer
void setComputer(Computer computer)
Set theComputer
to be used to generate theGraphComputer
.- Parameters:
computer
- the computer specification.
-
getComputer
Computer getComputer()
Get theComputer
for generating theGraphComputer
. Inferences on the state of theStep
within theTraversal
can be use applied here.- Returns:
- the computer specification for generating the graph computer.
-
generateProgram
VertexProgram generateProgram(Graph graph, Memory memory)
Generate theVertexProgram
.
-
-