// File: IDEmbedder[P]IDembedder/./GridsOfGroups.hpp
// Function: GridsOfGroups::GridsOfGroups(std::vector<std::vector<double, std::allocator<double>>, std::allocator<std::vector<double, std::allocator<double>>>> const&, std::vector<std::vector<unsigned long, std::allocator<unsigned long>>, std::allocator<std::vector<unsigned long, std::allocator<unsigned long>>>> const&)
GridsOfGroups(const std::vector<std::vector<double> >& discrete_points_for_all_dims, const std::vector<std::vector<size_t> >& indices_of_groups) 
            : _max_number_of_dimensions(discrete_points_for_all_dims.size())
            {
                for (size_t i = 0; i < indices_of_groups.size(); i++) {
                    size_t group_size = indices_of_groups[i].size();
                    std::vector<std::vector<double> > temp_discrete_points(group_size);
                        
                    for (size_t j = 0; j < group_size; j++) {
                        size_t dim = indices_of_groups[i][j];
                        temp_discrete_points[j] = discrete_points_for_all_dims[dim];
                    }
                    
                    Grid grid(temp_discrete_points);
                    _grids_of_groups.push_back(grid);
                }
            }

// Assembly:
subq $0xc8, %rsp
movq %rdi, 0xc0(%rsp)
movq %rsi, 0xb8(%rsp)
movq %rdx, 0xb0(%rsp)
movq 0xc0(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x4ce0
movq 0xb8(%rsp), %rdi
callq 0x3d60
movq %rax, %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x18(%rax)
movq $0x0, 0xa8(%rsp)
movq 0xa8(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0xb0(%rsp), %rdi
callq 0x4cf0
movq %rax, %rcx
movq 0x18(%rsp), %rax
cmpq %rcx, %rax
jae 0x2b08
movq 0xb0(%rsp), %rdi
movq 0xa8(%rsp), %rsi
callq 0x4d10
movq %rax, %rdi
callq 0x4d30
movq %rax, 0xa0(%rsp)
movq 0xa0(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x87(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x2550
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x88(%rsp), %rdi
callq 0x4d50
jmp 0x29be
leaq 0x87(%rsp), %rdi
callq 0x25f0
movq $0x0, 0x68(%rsp)
movq 0x68(%rsp), %rax
cmpq 0xa0(%rsp), %rax
jae 0x2a8c
movq 0xb0(%rsp), %rdi
movq 0xa8(%rsp), %rsi
callq 0x4d10
movq %rax, %rdi
movq 0x68(%rsp), %rsi
callq 0x4dd0
movq (%rax), %rax
movq %rax, 0x60(%rsp)
movq 0xb8(%rsp), %rdi
movq 0x60(%rsp), %rsi
callq 0x4df0
movq %rax, (%rsp)
movq 0x68(%rsp), %rsi
leaq 0x88(%rsp), %rdi
callq 0x3d20
movq (%rsp), %rsi
movq %rax, %rdi
callq 0x4e10
jmp 0x2a47
jmp 0x2a49
movq 0x68(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x68(%rsp)
jmp 0x29d4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x78(%rsp)
movl %eax, 0x74(%rsp)
leaq 0x87(%rsp), %rdi
callq 0x25f0
jmp 0x2b10
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x78(%rsp)
movl %eax, 0x74(%rsp)
jmp 0x2af9
leaq 0x28(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x2600
jmp 0x2aa0
movq 0x20(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x50d0
jmp 0x2ab1
leaq 0x28(%rsp), %rdi
callq 0x3ab0
leaq 0x88(%rsp), %rdi
callq 0x3ae0
movq 0xa8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xa8(%rsp)
jmp 0x2936
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x78(%rsp)
movl %eax, 0x74(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x3ab0
leaq 0x88(%rsp), %rdi
callq 0x3ae0
jmp 0x2b10
addq $0xc8, %rsp
retq
movq 0x20(%rsp), %rdi
callq 0x5140
movq 0x78(%rsp), %rdi
callq 0x1130
nopw %cs:(%rax,%rax)
nop