public String[] getAllowedParameters() {
        
        String[] allowed;
        
        switch (type) {
            case GENERAL: allowed = new String[]{"locationsFile","linksFile"};
                break;
            case RANDOM:  allowed = new String[]{"N","p"};
                break;
            case LINE:    allowed = new String[]{"N"};
                break;
            case STAR:    allowed= new String[]{"N"};
                break;
            case RING:    allowed= new String[]{"N"};
                break;
            case GRID:    allowed = new String[]{"N","M"};
                break;
            default:      allowed = new String[]{"N"};
                
        }
        
        return allowed;
    }