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 VertexProgramgenerateProgram(Graph graph, Memory memory)Generate theVertexProgram.ComputergetComputer()Get theComputerfor generating theGraphComputer.voidsetComputer(Computer computer)Set theComputerto be used to generate theGraphComputer.
-
-
-
Method Detail
-
setComputer
void setComputer(Computer computer)
Set theComputerto be used to generate theGraphComputer.- Parameters:
computer- the computer specification.
-
getComputer
Computer getComputer()
Get theComputerfor generating theGraphComputer. Inferences on the state of theStepwithin theTraversalcan be use applied here.- Returns:
- the computer specification for generating the graph computer.
-
generateProgram
VertexProgram generateProgram(Graph graph, Memory memory)
Generate theVertexProgram.
-
-