@Override
public GraphComputer compute(final Class... graphComputerClass) {
GraphComputerHelper.validateComputeArguments(graphComputerClass);
if (graphComputerClass.length == 0 || graphComputerClass[0].equals(GiraphGraphComputer.class))
return new GiraphGraphComputer(this);
else
throw Graph.Exceptions.graphDoesNotSupportProvidedGraphComputer(graphComputerClass[0]);
}