def METHOD_NAME(self,
                            generators = "const std::vector<Vector>&",
                            generatorFlags = "const std::vector<int>&",
                            generatorWork = "std::vector<double>&",
                            nodes = "std::vector<DomainNode<%(Dimension)s> >&"):
    """Assign the nodes to the given generator positions, simultaneously computing the total generator work load.