Interface VertexComputing

    • Method Detail

      • setComputer

        void setComputer​(Computer computer)
        Set the Computer to be used to generate the GraphComputer.
        Parameters:
        computer - the computer specification.
      • getComputer

        Computer getComputer()
        Get the Computer for generating the GraphComputer. Inferences on the state of the Step within the Traversal can be use applied here.
        Returns:
        the computer specification for generating the graph computer.
      • generateProgram

        VertexProgram generateProgram​(Graph graph,
                                      Memory memory)
        Generate the VertexProgram.
        Parameters:
        graph - the Graph that the program will be executed over.
        memory - the Memory from the previous OLAP job if it exists, else its an empty memory structure.
        Returns:
        the generated vertex program instance.