if (!type.isRoundRobin()) return false;
    public boolean isUnaryRoundRobin() {        // must have unary weights        for (int i=0; i<weights.length; i++) {            boolean unary = (weights[i] instanceof JIntLiteral &&                             ((JIntLiteral)weights[i]).intValue()==1);            if (!unary) return false;        }        return true;    }