class LpaComputer extends AbstractComputer {

    public static final String LPA = "lpa";

    public static final String PROPERTY = "property";
    public static final String DEFAULT_PROPERTY = "id";

    @Override
    public String name() {
        return LPA;
    }

    @Override
    public String category() {
        return CATEGORY_COMM;
    }

    @Override
    public void checkParameters(Map<String, Object> parameters) {
        times(parameters);
        property(parameters);
        precision(parameters);
        direction(parameters);
        degree(parameters);
    }

    @Override
    protected Map<String, Object> checkAndCollectParameters(
            Map<String, Object> parameters) {
        return ImmutableMap.of(TIMES, times(parameters),
                               PROPERTY, property(parameters),
                               PRECISION, precision(parameters),
                               DIRECTION, direction(parameters),
                               DEGREE, degree(parameters));
    }

    private static String property(Map<String, Object> parameters) {<FILL_FUNCTION_BODY>}
}

        if (!parameters.containsKey(PROPERTY)) {
            return DEFAULT_PROPERTY;
        }
        String property = ParameterUtil.parameterString(parameters, PROPERTY);
        E.checkArgument(property != null && !property.isEmpty(),
                        "The value of %s can not be null or empty", PROPERTY);
        return property;
    
<methods>public non-sealed void <init>() ,public java.lang.Object call(Job<java.lang.Object>, Map<java.lang.String,java.lang.Object>) ,public void checkParameters(Map<java.lang.String,java.lang.Object>) <variables>protected static final java.lang.String CATEGORY_COMM,protected static final java.lang.String CATEGORY_RANK,private static final java.lang.String COMMON,private static final java.lang.String COMPUTER_HOME,public static final long DEFAULT_DEGREE,public static final int DEFAULT_MAX_STEPS,public static final double DEFAULT_PRECISION,public static final int DEFAULT_TIMES,public static final java.lang.String DEGREE,public static final java.lang.String DIRECTION,private static final java.lang.String ENV,private static final java.lang.String EQUAL,private static final java.lang.String HADOOP_HOME,private static final Logger LOG,private static final java.lang.String MAIN_COMMAND,public static final java.lang.String MAX_STEPS,private static final java.lang.String MINUS_C,public static final java.lang.String PRECISION,private static final java.lang.String SPACE,public static final java.lang.String TIMES,private Map<java.lang.String,java.lang.Object> commonConfig,private YAMLConfiguration config