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
Modifier and TypeMethodDescriptiongenerateProgram(Graph graph, Memory memory) Generate theVertexProgram.Get theComputerfor generating theGraphComputer.voidsetComputer(Computer computer) Set theComputerto be used to generate theGraphComputer.
-
Method Details
-
setComputer
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
Generate theVertexProgram.
-