public SnSelect getSS(int type)
    {
        if(type == 1)
            return new SSRoundRobin();
        if(type == 2)
            return new SSMinLoad();
        else
            return null;
    }