/** * Make sure that all registered classes have matching types. This * is a little tricky due to type erasure, cannot simply get them from * the class type arguments. Also, set the vertex index, vertex value, * edge value and message value classes. */ public void validateConfiguration() { checkConfiguration(); verifyOutEdgesGenericTypes(); verifyVertexInputFormatGenericTypes(); verifyEdgeInputFormatGenericTypes(); verifyVertexOutputFormatGenericTypes(); verifyEdgeOutputFormatGenericTypes(); verifyVertexResolverGenericTypes(); verifyVertexValueCombinerGenericTypes(); verifyMessageCombinerGenericTypes(); verifyVertexValueFactoryGenericTypes(); }