public static ObjFunction fromName(String name) {
        ObjFunction result = FUNCTIONS.get(name);
        if (result == null) {
            throw new IllegalArgumentException(name + " is not supported objective function.");
        }
        return result;
    }
public static ObjFunction fromName(String name) {
        ObjFunction result = FUNCTIONS.get(name);
        if (result == null) {
            throw new IllegalArgumentException(name + " is not supported objective function.");
        }
        return result;
    }
public static ObjFunction fromName ( String name ) { ObjFunction result = FUNCTIONS . get ( name ) ; if ( result == null ) { throw new IllegalArgumentException ( name + " is not supported objective function." ) ; } return result ; }
Gets {@link ObjFunction} from given name.

@param name name of objective function
@return objective function
Gets { @link ObjFunction } from given name .